1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00
This commit is contained in:
TechHara 2022-12-23 02:18:16 -05:00
parent a53dcba6d3
commit 20761fe422

View file

@ -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 {