Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/cmp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ exit $saw_difference;

sub skipnum {
my $n = shift;
return hex($n) if ($n =~ m/\A0x/);
return hex($n) if ($n =~ m/\A0[Xx]/);
return int($n) if ($n =~ m/\A[0-9]+\z/);
warn "$Program: invalid offset number '$n'\n";
usage();
Expand Down Expand Up @@ -261,7 +261,7 @@ I<skip1> and I<skip2> are optional byte offsets into I<file1> and
I<file2>, respectively, that determine where the file comparison
will begin. Offsets may be given in decimal, octal, or hexadecimal
form. Indicate octal notation with a leading '0', and hexadecimal
notation with a leading '0x'.
notation with a leading '0x' or '0X'.

file1 or file2 may be given as '-', which reads from standard input.

Expand Down
Loading