Project

General

Profile

Bug #13150

head -v doesn't work with a single file

Added by Robert Mustacchi 10 days ago. Updated about 8 hours ago.

Status:
New
Priority:
Normal
Category:
cmd - userland programs
Start date:
Due date:
% Done:

80%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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

Related to illumos gate - Bug #3682: /usr/bin/head should implement -c -q and -vResolved2013-04-03

Actions

History

#1

Updated by Robert Mustacchi 10 days ago

  • Description updated (diff)
#2

Updated by Robert Mustacchi 10 days ago

  • Related to Bug #3682: /usr/bin/head should implement -c -q and -v added
#3

Updated by Electric Monk 10 days ago

  • Gerrit CR set to 922
#4

Updated by Robert Mustacchi about 8 hours ago

This was tested along with #6782 and dedicated tests were added to the head(1) test suite for this.

Also available in: Atom PDF