issues
search
briandfoy
/
PerlPowerTools
Perl Power Tools
https://metacpan.org/pod/PerlPowerTools
Other
211
stars
53
forks
source link
cut: allow -b range of 1
#622
Closed
mknos
closed
2 months ago
mknos
commented
2 months ago
Technically the inclusive byte range of 2-2 is a single byte
When testing against GNU and OpenBSD versions, the usage of "cut -b 2-2" is allowed and interpreted as "cut -b 2"
This version raised an error previously but it's more compatible to allow it
briandfoy
commented
2 months ago
changes: -b allows a range of 1 now