New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a2p fails to parse valid do-while loop in awk script #7477
Comments
From keith@batky-howell.coma2p fails to translate valid awk syntax, saying "syntax error". BEGIN{ do{ print a++ If I call this "tmp.awk" and run "a2p tmp.awk", I get this output: A similar, but different failure (probably deserving of a function should_work(r,c,shot){ If I put this into tmp2.awk and run "a2p tmp2.awk", I get this: Both of these examples not only are parsed correctly by AWK, Thank you for any consideration of this matter. My situation is Perl Info
|
From @rgskeith (via RT) wrote:
I think that a2p comes from the good old days of awk, before it evolves
gee, there are still people who learn awk (and sed, I assume) before
Silly idea: find a small group of CS students and make them work, as a |
The RT System itself - Status changed from 'new' to 'open' |
From keith@batky-howell.comRafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> wrote: I've used both gawk on linux and "nawk" (now just called "awk") on an SCO | gee, there are still people who learn awk (and sed, I assume) before I was an AWK hacker since the days when Larry Wall was known for "patch" | Silly idea: find a small group of CS students and make them work, as a Heh heh, that's what graduate students are for. But even though I'm -- |
From zefram@fysh.orga2p is no longer part of the Perl core distro, so this ticket should -zefram |
From @tonycozOn Tue, 16 Jan 2018 14:06:06 -0800, zefram@fysh.org wrote:
https://rt.cpan.org/Ticket/Display.html?id=124108 Closing. Tony |
@tonycoz - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#31321 (status was 'rejected')
Searchable as RT31321$
The text was updated successfully, but these errors were encountered: