[systemd-devel] [PATCH] systemctl: implement auto-pager a la git
Tollef Fog Heen
tfheen at err.no
Tue Jan 4 05:20:23 PST 2011
]] Lennart Poettering
| Hmm, so, given that we check PAGER ourselves, calling sensible-pager is
| of little benefit for us, right? And I probably should change the
| invocation of sensible-pager to pager in my code, so that we search for
| "pager", "less" and "more" in this order?
Sounds fine.
| (That shell script sucks btw, it should invoke the pager with 'exec'.)
No, since if /bin/sh is dash (at least), you'd then not fall through if
the exec failed due to PAGER pointing to a missing executable.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the systemd-devel
mailing list