Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to print a quote in a AWK script ?

Status
Not open for further replies.

ray33569

IS-IT--Management
Nov 15, 2001
1
US
Anybody can help on that one ????

I tried many things but without success ...

Thanks

Ray
 

Example:
awk ' BEGIN {
print "Hi, This is how you \" get quoted \".
}'

HTH
MMD
 
Forgot: another " at the end;)
\ escapes the ".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top