My script looks like this
for i in 'ls'
while read num rest
done < $i
I want to read every file in the directory.
It works fine with reading the first file in the directory, but it
crashes at the second file with the message:
Can't open file
Help would be great!
Sent via Deja.com http://www.deja.com/
Before you buy.