PDA

View Full Version : how to read a .txt file using tcsh



huruixd
March 20th, 2010, 06:11 AM
Hi,

I have a files.txt file which contains multiple lines:
1.txt
2.txt
...
...

I'd like write a tcsh script that can read the files.txt and copy all the files (1.txt, 2.txt.....) to another directory. Can anyone tell me how to write this piece of code. Thanks.