[NTLUG:Discuss] dealing with backslashes '\' when 'read'ing files..
Richard Geoffrion
ntlug at rain4us.net
Sat Feb 18 15:32:33 CST 2006
Eric Schnoebelen wrote:
>line lines.
>
> Why not just use sed to make the transformation on the
>entire Makefile, rather than trying to have a shell script
>do the transformations line by line?
>
> For your "Script-so-far", it becomes:
>
> sed -e 's#/usr/include/sys/stdyms.h##g' Makefile >Makefile.new
>
>
Yes...well why not. Cuz I needed a bash on the head at 3 am! HAHAHAH
Man, I get going down a path and just won't let go. The script
originally started out...well it doesn' matter. How bloody simple! Thx!
--
Richard
More information about the Discuss
mailing list