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 is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.