I have one txt file that has bunch of class names.
I would like to read those class names line by line in bash script and assign that value to a variable to use it globally in another command in the script.
FILES="files.txt"
for f in $FILES
do
echo "Processing $f file..."
# take action on each file. $f store current file name
cat $f
done