On Monday 15 July 2013 16:29:08 Thomas Bendler wrote:
> 2013/7/15 Lennart Poettering <mzerq...@0pointer.de>
> ​[...] 
> Well, assuming that bash is entirely in memory. And also, note that
> neither cat, nor cp, nor tail are actually bash builtins and will not
> work. It's pretty hard (though certainly possible) viewing files with
> just bash builtins.
> 
> echo $(< /var/log/messages)​​

For what it's worth:

while read -r line; do echo "$line"; done < /var/log/messages

Will do the same and will work line by line instead of putting everything in 
one *gigantic* single line

Regards,

Marc Deop
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to