Bob Proulx a écrit : > > Tamlyn1978 wrote: >> >> Is there a way to make 'cat' ignore the comments or is there a better >> >> alternative to cat in this case? > > > > Note that if 'cat' didn't exactly reproduce the contents of input on > > the output I would consider that a grave bug.
Well... GNU cat has a number of options, and almost every single one is munging the output :-) > > Instead of using $(cat SOMEFILE) it is better to avoid the extra > > process and use $(< SOMEFILE) instead. It is built into the shell and > > is the right way to do that task. It is more efficient but I think it is not standard. Cheers, Marc