* summary awk question
@ 2001-08-10 15:06 Joe LaCascio
0 siblings, 0 replies; only message in thread
From: Joe LaCascio @ 2001-08-10 15:06 UTC (permalink / raw)
To: tru64-unix-managers
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?
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-10 15:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-10 15:06 summary awk question Joe LaCascio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox