I'm looking at some shell scripts a co-worker wrote and there is a line
that looks like this:

 esc=`echo "$arg" | sed "s/'/'\\\\\\\\''/g"`

I can't figure out why any regular expression would need that many
backslashes.  Can any of you?

Thanks,

Bryan


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to