Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Interesting...could you provide a link to the documentation for the awk pipe command syntax? Also is this POSIX compatible? And, what is that getline in there? Commented Nov 17, 2015 at 1:44
  • Sorry just closed my laptop, so not sure if it is posix. Look up getline in the info/manpage it is the internal awk function to read a line. You can either read from the awk input, from a different file or from a command. Commented Nov 17, 2015 at 1:51
  • I use gawk (GNU awk) and it seems to be POSIX compliant, see awk(1) - Linux man page, look for command | Commented Nov 18, 2015 at 0:49