[Bug 757520] New: a2p creates faulty perl code
https://bugzilla.novell.com/show_bug.cgi?id=757520 https://bugzilla.novell.com/show_bug.cgi?id=757520#c0 Summary: a2p creates faulty perl code Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jw@suse.com QAContact: qa-bugs@suse.de CC: ke@suse.com, mls@suse.com Found By: --- Blocker: --- $ cat x.awk BEGIN { ORS=" - " } /ma/ $ awk -f x.awk < /etc/passwd mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false - man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash - dnsmasq:x:103:65534:dnsmasq:/var/lib/empty:/bin/false - $ a2p x.awk #!/usr/bin/perl eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if $running_under_some_shell; # this emulates #! processing on NIH machines. # (remove #! line above if indigestible) eval '$'.$1.'$2;' while $ARGV[0] =~ /^([A-Za-z_0-9]+=)(.*)/ && shift; # process any FOO=bar switches $\ = "\n"; # set output record separator $\ = ' - '; whil (<>) { chomp; # strip record separator print $_ if /aa/; } ----------------------------- Note the missing 'e' in 'whil', and the 'aa' which should have been 'ma'. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757520
https://bugzilla.novell.com/show_bug.cgi?id=757520#c1
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=757520
https://bugzilla.novell.com/show_bug.cgi?id=757520#c2
Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=757520
https://bugzilla.novell.com/show_bug.cgi?id=757520#c3
--- Comment #3 from Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=757520
https://bugzilla.novell.com/show_bug.cgi?id=757520#c4
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=757520
https://bugzilla.novell.com/show_bug.cgi?id=757520#c
Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com