mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
tr: use logical AND instead of bitwise AND
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||
));
|
||||
}
|
||||
|
||||
if delete_flag & squeeze_flag && sets_len == 1 {
|
||||
if delete_flag && squeeze_flag && sets_len == 1 {
|
||||
return Err(UUsageError::new(
|
||||
1,
|
||||
get_message_with_args(
|
||||
|
||||
Reference in New Issue
Block a user