simple(?) awk question

From: Arthur Prince (arthurp@TOTALISE.CO.UK)
Date: Wed Apr 02 2003 - 07:43:48 EST


In my awk script I have a variable that contains a substr of the input record.
This variable contains a DOS path name and I want to replace the backward
slashes \ with forward slashes /

Can I do substitution like this on a variable in awk, or do I need to use gsub
on the input record. In either case, what is the syntax?

AP



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:42 EDT