I don't wanna flood Rob with patches (Especially since he's been mostly off the
list
lately). But this isn't a very large or complex patch.
Attached
- Oliver Webb <[email protected]>
P.S. I sent out this email, but my mailer froze mid-sending and
I don't know if it's got though, the list hasn't sent it back to
me so I assume not. Resending
From 8cdc3bd8b39c6f340c20fadf612bf1e477a820d0 Mon Sep 17 00:00:00 2001
From: Oliver Webb <[email protected]>
Date: Sun, 21 Apr 2024 18:51:54 -0500
Subject: [PATCH] unix2dos, Turn into OLDTOY, change help text to match
---
toys/other/dos2unix.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/toys/other/dos2unix.c b/toys/other/dos2unix.c
index 941e48a6..0849303b 100644
--- a/toys/other/dos2unix.c
+++ b/toys/other/dos2unix.c
@@ -11,17 +11,12 @@ config DOS2UNIX
help
usage: dos2unix [FILE...]
- Convert newline format from dos "\r\n" to unix "\n".
- If no files listed copy from stdin, "-" is a synonym for stdin.
+ Convert between dos newlines "\r\n" and unix newlines "\n".
config UNIX2DOS
- bool "unix2dos"
+ bool
default y
- help
- usage: unix2dos [FILE...]
-
- Convert newline format from unix "\n" to dos "\r\n".
- If no files listed copy from stdin, "-" is a synonym for stdin.
+ depends on DOS2UNIX
*/
#define FOR_dos2unix
--
2.44.0
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net