> You shouldn't rely on cat or for to read a file line by line, but instead do
> this:
>
> while read line; do
>   commands
> done < hosts

I would pick this form myself, but why should one not rely on cat? It
seems to me a viable (even if useless use of cat) option.
Is there something totally wrong with relying on cat to read a file?

-- 
Regards,

André
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to