Re: F20 System Wide Change: No Default Syslog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 15 July 2013 16:29:08 Thomas Bendler wrote:
> 2013/7/15 Lennart Poettering <mzerqung@xxxxxxxxxxx>
> ​[...] 
> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux