Skip to content

Commit

Permalink
Merge pull request #360 from mknos/cat-bn
Browse files Browse the repository at this point in the history
cat: -b overrides -n
  • Loading branch information
briandfoy authored Dec 2, 2023
2 parents 7df2766 + d5a10e6 commit dd53457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cat
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ my $ends = exists $options{'e'};
my $tabs = exists $options{'t'};
my $nonprinting = exists $options{'v'} || $ends || $tabs;
my $squeeze_empty = exists $options{'s'};
my $number_lines = exists $options{'n'};
my $number_lines = $options{'n'} && !$options{'b'};
my $number_non_blanks = exists $options{'b'};

# Unbuffer output for -u.
Expand Down

0 comments on commit dd53457

Please sign in to comment.