My script looks like this
#!/bin/ksh
for i in 'ls'
do
while read num rest
do
...
done < $i
done
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.