I see what you're saying.  That's interesting about cat, thanks for the heads
up.

while read line
        do
                {
                echo
                $line > /dev/null && echo $line "PASSED" || echo $line
"FAILED"
                } >> $RESULTS
        done < $FILE
exit 0

This does the same thing, but seems to be more streamline... cleaner.  Those
are some useful points for future reference.  Thanks again.

Matthew
-- 
View this message in context: 
http://www.nabble.com/Taking-input-line-by-line-from-a-config-file-in-Bash-tp14575394p14593790.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.



Reply via email to