Initially i store some files into anothe file Y. Now i want read the contents of file Y one by one do some check on each file.
i,e
Open file Y (contains multiple files)
First read a file , do some check on that individual file.If that file satisfies teh condition put it in another file.
Now read the second file, check, if satisfies put it in another file.
NOw read the third file....
This process continues till all the files in File Y are finished.
How can i solve this.
how can i read one file, do check, then second file, do check...
there are 'n' number of posts in the forum which explains about reading from a file
looping construct
applying specific operation
Please do make use of the search facility of the forum
to start with,
while read file_name
do
echo "$file_name"
done < file_that_contains_filename