mirror of
https://github.com/uutils/sed.git
synced 2026-06-10 16:14:15 -07:00
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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user