fixcr(1)

πŸ’… fixcr β€” the "bestie, your line endings are a mess" page

So you're in the General Commands Manual, section 1, and you've pulled up fixcr(1). Buckle up, it's a short one but it serves.


✨ NAME ✨

fixcr β€” make sure that there is a CR before each LF 🌸


✨ SYNOPSIS ✨

fixcr

That's it. No flags. No arguments. No drama. She just is. πŸ‘‘


✨ DESCRIPTION ✨

Okay so picture this: fixcr reads your input and, at the end of every line where a CR isn't already chilling there, it inserts one. That's the whole job. Lowkey iconic. πŸŽ€

⚠️ But bestie, listen β€” it does not insert a CR at the end of a partial final line. If your last line doesn't end in an LF, she leaves it alone. No CR. Not touching it. Periodt. πŸ’…

So: CR before each LF βœ…, except that one edge case where the final line is just vibing without its LF. She respects the boundary. πŸ¦‹


✨ SEE ALSO ✨

  • addcr(1) β€” the other one, go say hi πŸ’–

Anyway, that's the tea from the General Commands Manual (section 1) 🫢 β€” this page is part of that collection, fixcr(1), no version string or date on it, just vibes and line endings. Stay caffeinated, keep your CRs where they belong, and go read addcr(1) next. Mwah. πŸ’œβœ¨

πŸ“¦ where this page comes from