tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Joe LaCascio <jlacasci () wheatonma ! edu>
To: tru64-unix-managers
Subject: awk question
Date: Fri, 10 Aug 2001 14:06:00 +0000	[thread overview]
Message-ID: <102653669621858.tru64-unix-managers.marc@archive.invalid> (raw)



How can I get awk to produce a singe quote in my output file?

For example:

awk '{print $1 ", " $2 ", " 'CA'}' some_file > foo

assuming some_file contained 

Bob Smith

I'd like the output to be

Bob, Smith, 'CA'

Thanks,
Joe

             reply	other threads:[~2001-08-10 14:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-10 14:06 Joe LaCascio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-24  7:09 awk question Gerggee George
2001-05-23 23:52 
2000-08-29 12:23 AWK question F. Winter
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