[illumos-Developer] awk, nawk, oawk, ...

Paul Armstrong illumos at otoh.org
Tue Apr 5 10:44:53 PDT 2011


At 2011-04-05T13:35-0400, Gordon Ross wrote:
> Anyone in a position to try this on a recent MacOS?
> (They reportedly have a more recent version of what we call nawk)

On 10.6.7

MacBook-Pro:tmp psa$ printf "a\nb\n\n" \
  | /usr/bin/awk 'BEGIN{RS="\n\n"; ORS="=\n"} {print}'
a=
b=
=



More information about the Developer mailing list