[gnuwin32 - Help] RE: if (substr($1, 1, 3) == "123")...
"SourceForge.net" <[email protected]> Sun, 29 May 2011 21:29:05 -0400
| Newsgroups | gmane.comp.windows.gnu.user |
|---|---|
| Message-ID | <[email protected]> |
Read and respond to this message at:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4550522
By: raysatiro
You need to use the backslash character to escape the quotes.
gawk "{if (substr($1,1,3) == \"Sun\") print $0}" abc.txt
_____________________________________________________________________________________
You are receiving this email because you elected to monitor this topic or entire forum.
To stop monitoring this topic visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4550522/unmonitor
To stop monitoring this forum visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1