Public bug reported:
Create a gzipped file:
$ for i in $(seq 1 100); do echo $i; done > file.txt
$ gzip file.txt
Then:
$ zgrep -9 17 file.txt.gz
8
9
...
25
26
works. But:
$ zgrep -10 17 file.txt.gz
gzip: 17.gz: No such file or directory
fails.
Note that "grep -9 17 file.txt" and "grep -10 17 file.txt" work just
fine.
** Affects: gzip (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1032831
Title:
zgrep -<NUM> doesn't work if <NUM> is two digits or greater
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/1032831/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs