mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
simplify
This commit is contained in:
parent
a53dcba6d3
commit
20761fe422
1 changed files with 1 additions and 4 deletions
|
@ -362,10 +362,7 @@ fn cut_fields<R: Read>(reader: R, ranges: &[Range], opts: &FieldOptions) -> URes
|
|||
ranges,
|
||||
opts.only_delimited,
|
||||
newline_char,
|
||||
match opts.out_delimiter {
|
||||
Some(ref delim) => delim,
|
||||
_ => "\t",
|
||||
},
|
||||
opts.out_delimiter.as_deref().unwrap_or("\t")
|
||||
),
|
||||
Delimiter::String(ref delimiter) => {
|
||||
if let Some(ref o_delim) = opts.out_delimiter {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue