On Mon, Jan 16, 2012 at 11:27 AM, Andre Speelmans <fedora-l...@cosiso.nl> wrote:
>> 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é
> --

Andre',
Sorry I have not followed this thread.
What exactly were you trying to accomplish using cat?
-- 
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