mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
tr: fix complement if set2 is range
This commit is contained in:
parent
83eb704415
commit
34c22dc3ad
2 changed files with 21 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ impl TranslateOperation {
|
|||
TranslateOperation {
|
||||
translate_map: map,
|
||||
complement,
|
||||
s2_last: s2_prev,
|
||||
s2_last: set2.last().unwrap_or(s2_prev),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue