On Fri, Jun 11, 1999 at 07:09:45AM -0700, Kenneth Scharf wrote:
> I need to write a script to replace '\'s with '/', but how can I get
> grep to accept '\' as a regular expression (it assumes it to be line
> continue character, at least from the sh prompt)?

You can use sed (if I understand you correctly):
   "sed s/\\\\/\\//g filename"
That will replace all occurrences of '\' with '/'.

> 
> this is to port a windows program to linux.
> 
> ===
> Amateur Radio, when all else fails!
> 
> http://www.qsl.net/wa2mze
> 
> Debian Gnu Linux, Live Free or .....
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Alvis (Trey) W. Tabner III

-- 
"You know, we've won awards for this crap." - David Letterman

Reply via email to