Follow

/ shell scripting / hot take:
giving different output depending on whether stdout is a terminal or a pipe is bad because it makes introspecting pipelines harder

if the user wants to paginate things they should:
- use a terminal that does that by default (all hail and rio)
- just pipe things into more or less

@grainloom A lot of tools do this these days for adding ansi escape codes for colors...

@ckeen that's sooort of forgivable i guess, but i'm not a fan of ANSI escape codes polluting my acme terminals

Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway

jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal