this post was submitted on 31 Aug 2024
657 points (96.2% liked)
Microblog Memes
5699 readers
2847 users here now
A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.
Created as an evolution of White People Twitter and other tweet-capture subreddits.
Rules:
- Please put at least one word relevant to the post in the post title.
- Be nice.
- No advertising, brand promotion or guerilla marketing.
- Posters are encouraged to link to the toot or tweet etc in the description of posts.
Related communities:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
cat is for concatenating files, so the opposite would be something that breaks a stream up into multiple files.
So, split.
Edit: although there's also tac, which could fit the bill as well.
Hah, forgot about tac
I mean... it's nice that it exists and all, but I can't really think of many useful usecases.
I think I only ever used it in an intro to shell scripting where we (almost) recreated the function of tail
Something like
tac | head | tac
, I guess? Yes, that's a valid use case indeed :)