JP Mens on Nostr: Sometimes I check a program's man page to see if there's support for doing X, and ...
Sometimes I check a program's man page to see if there's support for doing X, and then I stumble across being able to do Y, something I've wanted for ages.
Today, in `man ag':
ag --pager 'less -R' ...
which keeps coloring, whereas
ag ... | less
obviously doesn't.
https://github.com/ggreer/the_silver_searcherPublished at
2024-06-08 08:24:36Event JSON
{
"id": "b2b9ee29d020764be601c39a64fdeb1ff386a16842e25892415431b88707cab5",
"pubkey": "4421e6f8f57df36e663f1a4568344196e61ea62eb94203c9c02d83bcb3eb9c66",
"created_at": 1717835076,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/jpmens/statuses/112580039604635012",
"activitypub"
]
],
"content": "Sometimes I check a program's man page to see if there's support for doing X, and then I stumble across being able to do Y, something I've wanted for ages.\n\nToday, in `man ag':\n\nag --pager 'less -R' ...\n\nwhich keeps coloring, whereas \n\nag ... | less\n\nobviously doesn't.\n\nhttps://github.com/ggreer/the_silver_searcher",
"sig": "ff1c45fb027e81ed08ce3522de2a00367b8ce5ae917543b97e8a70a24e36b70b6cc5be030123cca920ac3e2f99e3946d31d461d3a331ebecb1e2319a2f93fa8f"
}