Search code examples
perlprogramming-languagesawk

What can I do using awk that I cannot do in Perl?


I had read somewhere about one specific feature that is present in awk but not in Perl. I have failed in locating it again.

I would appreciate it if anyone here can point it out.

This might be a useless trivia, but I am still curious to know.


Solution

  • From perldoc perlvar:

    Remember: the value of $/ is a string, not a regex. awk has to be better for something. :-)