From: Joe LaCascio <jlacasci () wheatonma ! edu>
To: tru64-unix-managers
Subject: summary awk question
Date: Fri, 10 Aug 2001 15:06:23 +0000 [thread overview]
Message-ID: <102653669621861.tru64-unix-managers.marc@archive.invalid> (raw)
I got a lot of answers rather quickly, thanks. Most folks said to just
escape the quotes \'CA\' but this didn't work. Neither did \\'CA\\' or
\\\\'CA\\\\'. Thanks to Jean-Marie, here's the solution that worked
from me:
try: awk -v quote="'" '{print $1 ", " quote "CA" quote}' some_file > foo
Joe
> How can I get awk to produce a singe quote in my output file?
>
reply other threads:[~2001-08-10 15:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox