Am 16.07.2013 22:10, schrieb John.Florian@dart.biz:
From: h.reindl@thelounge.net
Am 16.07.2013 21:45, schrieb John.Florian@dart.biz:
From: h.reindl@thelounge.net
i am *strictly* against all this truncate and autopaging and for me "GIT does the same" is no argument - a mistake is not better because others do the same.............
if i want paging i do " | less" or " | more" *this* is the unix way of work
but who am i...............
While I'm no more important than the next guy, I'll defend the
auto-pager feature of both git and journalctl. I
love it, in fact. I'm no stranger to very long pipelines and sub-
shells but I see nothing but benefit in not
having to add "| less" routinely to things that are UI in nature.
These auto-pagers get out of the way immediately
if you need a pipeline, so what's the harm? In fact, you can
still "journalctl | less" or the like if you really
want to.
you could also do alias journalctl="journalctl | less" to achive the same
Of course I could ... just as easily as you can set the systemd/git pager env variables, or aliases to pipe thru cat
and tomorrow a, b and c comes also with autopaging/truncate and the next day d only with trunacte but no autopaging and you have to read manpages for any random command to look how behave anything you type in a terminal the same way
shiny new world.......................