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
Marc Herbert wrote:
Bob Proulx a écrit :
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 :-)
And they aren't desirable in the
Tamlyn1978 wrote:
I have a file with a list of programs with comments describing what they do,
e.g.
unison # file syncronisation
grass # gis program
I have a script, which I run as root and includes the command:
m...@me:~$ aptitude install $(cat programs) -y
where 'programs' is the
I have a file with a list of programs with comments describing what they do,
e.g.
unison # file syncronisation
grass # gis program
I have a script, which I run as root and includes the command:
m...@me:~$ aptitude install $(cat programs) -y
where 'programs' is the file with the list of
On Wed, 7 Oct 2009, Tamlyn1978 wrote:
I have a file with a list of programs with comments describing what they do,
e.g.
unison # file syncronisation
grass # gis program
I have a script, which I run as root and includes the command:
m...@me:~$ aptitude install $(cat programs) -y