On Thu, 24 May 2012, Larry Brigman wrote:

> Inline awk scripts need to be single quoted

   True. But this is not a single line script on the command line; it's in a
script fed to awk.

> ... and there needs to be a semi-colon between statements on the same line
> like: awk 'BEGIN{ FS="|";OFS="|";} .....' file

   OK. A semi-colon between the FS and OFS statements fixed the error.

Thanks, Larry,

Rich

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to