Passing a text file to the command line as arguments
Hello,
I have a file headers.txt and it is full of a list of rpm headers
e.g.
GConf2-2.2.1-4.i386
GConf2-devel-2.2.1-4.i386
Glide3-20010520-25.i386
Glide3-devel-20010520-25.i386
I want to then pass these to red hat up2date on the command line. How would i do this?
I tried up2date < headers.txt
but that did not work. I am a just a bit stupid.
Help please!
|