On February 10, 2003 01:49 pm, you wrote: > Oh something else to note, 'cat' doesn't read an entire line in, but rather > something that is better classified as words. Here's the code again:
And that's not entirely accurate either. Thanks to Dave Lee for setting me straight. Cat dumps the entire file into the shell. It is bash (or whatever shell) who breaks it up into word chunks. If anybody has the time/desire you can perform some bash magic to break on \n boundaries, then use 'cut' or 'awk' to get the 2nd argument from the twtest.txt file which is the filename to comment out in twpol.txt -- Gerard Beekmans www.linuxfromscratch.org -*- If Linux doesn't have the solution, you have the wrong problem -*-
