top | item 46311514 (no title) nhanb | 2 months ago >And for the UI I just pipe everything to the system's "less" command.I never thought of that as an option. Thanks for the tip haha. discuss order hn newest Joker_vD|2 months ago Ideally, one should pipe into $PAGER, or, if that's missing, into "pager" (it's usually symlinked to less), or, if that's missing, into "less"/"more"/"cat", or, if even those are missing, then just write to stdout. superstarryeyes|2 months ago sometimes the simplest solution is the best! i love the unix philosophy:Write programs that do one thing and do it well.Write programs to work together.Write programs to handle text streams, because that is a universal interface.
Joker_vD|2 months ago Ideally, one should pipe into $PAGER, or, if that's missing, into "pager" (it's usually symlinked to less), or, if that's missing, into "less"/"more"/"cat", or, if even those are missing, then just write to stdout.
superstarryeyes|2 months ago sometimes the simplest solution is the best! i love the unix philosophy:Write programs that do one thing and do it well.Write programs to work together.Write programs to handle text streams, because that is a universal interface.
Joker_vD|2 months ago
superstarryeyes|2 months ago
Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.