You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
31 lines
1.0 KiB
4 months ago
|
From f40556883a40ed7aaa4f44c9c9c95215c95eab9f Mon Sep 17 00:00:00 2001
|
||
|
From: Paolo Bonzini <pbonzini@redhat.com>
|
||
|
Date: Tue, 30 Jan 2024 10:31:57 +0100
|
||
|
Subject: [PATCH 1/3] enable the -b option on all platforms
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
||
|
---
|
||
|
sed/sed.c | 5 +++++
|
||
|
1 file changed, 5 insertions(+)
|
||
|
|
||
|
diff --git a/sed/sed.c b/sed/sed.c
|
||
|
index af83065..bdf590b 100644
|
||
|
--- a/sed/sed.c
|
||
|
+++ b/sed/sed.c
|
||
|
@@ -153,7 +153,12 @@ Usage: %s [OPTION]... {script-only-if-no-other-script} [input-file]...\n\
|
||
|
fprintf (out, _(" -b, --binary\n\
|
||
|
open files in binary mode (CR+LFs are not" \
|
||
|
" processed specially)\n"));
|
||
|
+#else
|
||
|
+ fprintf (out, _(" -b, --binary\n\
|
||
|
+ does nothing; for compatibility with WIN32/CYGWIN/MSDOS/EMX \n\
|
||
|
+ (open files in binary mode; CR+LF are not processed specially)\n" ));
|
||
|
#endif
|
||
|
+
|
||
|
fprintf (out, _(" -l N, --line-length=N\n\
|
||
|
specify the desired line-wrap length for the `l' command\n"));
|
||
|
fprintf (out, _(" --posix\n\
|
||
|
--
|
||
|
2.43.0
|
||
|
|