|
Here it is:
files=`ls -1 $dir`
for file in `echo $files`
do
echo $dir/$file
done
-- I wanted to list the files in a folder and use that list for further processing. Instead of taking the filenames into a file, I take it into a variable. The filenames here are tab delimited.
Regards,
T.
|