Actions
Bug #13150
closedhead -v doesn't work with a single file
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
While working on #6782 I wrote a test suite for head
. As a part of this I found that the original work done for adding support for head -v
didn't properly check the single file case. We should fix this and make sure that if -v
is specified we print the file even if there is only one, as that's the point of the option.
Related issues
Updated by Robert Mustacchi about 3 years ago
- Related to Bug #3682: /usr/bin/head should implement -c -q and -v added
Updated by Robert Mustacchi about 3 years ago
This was tested along with #6782 and dedicated tests were added to the head(1) test suite for this.
Updated by Electric Monk about 3 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
git commit a9e414682948591ec63d5ab2cd11ba55603b59fa
commit a9e414682948591ec63d5ab2cd11ba55603b59fa Author: Robert Mustacchi <rm@fingolfin.org> Date: 2020-09-23T04:28:51.000Z 6782 head can't handle embedded nul characters 13150 head -v doesn't work with a single file Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Richard Lowe <richlowe@richlowe.net>
Actions