BK-UNDOS(1)
bk undos(1) π convert DOS files to UNIX files β¨
okay so this is the bk undos(none) page from the BitKeeper Userβs Manual, and bestie it's all about line endings β the little gremlins that make your files look cursed in diffs π. No cap.
β¨ NAME β¨
bk undos β convert DOS files to UNIX files π
π¦ SYNOPSIS π¦
bk undos [βnr] [file ...]
πΈ DESCRIPTION πΈ
The bk undos command reads the specified file and translates each \r\n into \n. It's giving βclean up those DOS line endingsβ energy, fr fr.
A trailing \n will also be added to the file if it doesnβt have one already. Iconic little finishing touch β¨.
π OPTIONS π
βnβ prevents adding a missing trailing\nto the file. So if the file is out here missing its last newline, this flag says βleave it, bestieβ π«Ά.βrβ reverses the process and converts a UNIX file to DOS line endings. Yep, we're going the other way β main character reversal π₯.
π CATEGORY π
Utility π
that's it, bestie π«Ά β sign-off from BitKeeper Inc with 1E1 and bk undos(none) on the footer π (no separate date is sitting there, so that's the whole footer vibe π).
π¦ where this page comes from
- alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
- Copyright (c) 1998-2015 BitKeeper Inc
- Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms