Remove GNU --binary option

There are specialized commands that can handle this (tr, dos2unit).
Adding such support to every command runs against the Unix philosphy.
Furthermore, Rust, for good reasons, does not support opening files
in binary or text mode, so such support (which is complex and platform
dependent) would have to be emulated.
This commit is contained in:
Diomidis Spinellis
2025-03-22 14:26:04 +02:00
parent 88a5a57667
commit 9d24b73782
-1
View File
@@ -118,7 +118,6 @@ pub fn uu_app() -> Command {
.short('a')
.help("Create or truncate all output files before processing.")
.action(clap::ArgAction::SetTrue),
arg!(-b --binary "Treat files as binary: do not process CR+LFs."),
arg!(--debug "Annotate program execution."),
Arg::new("regexp-extended")
.short('E')