Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3906856
By: pozmu

Hi

How can I use backslash in Gawk in windows command line? Is it possible without
using hex values?

C:\temp\gawk\bin>gawk "$1 == \"\\\"" s\bbs-list
gawk: cmd. line:1: $1 == "\"
gawk: cmd. line:1:       ^ unterminated string


Maybe is there a way to use ' to enclose program listing? (ordinary way doesn't
work:

C:\temp\gawk\bin>gawk '$1 == "\\"' s\bbs-list
gawk: cmd. line:1: '$1
gawk: cmd. line:1: ^ invalid char ''' in expression

)

Now I have to use something like this:

C:\temp\gawk\bin>gawk "$1 == \"\x5C\"" s\bbs-list
\         888-8888


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to