On 26/02/2020 19:50, Matt Zagrabelny wrote:
Greetings,

Thank you for writing free software!

I use a shell alias that uses GNU head via coreutils. The shell alias
dumps out the contents of files.

A stripped down version of my alias looks like:

$ head -n -0 foo bar
==> foo <==
contents of foo

==> bar <==
contents of bar

$ head -n -0 foo
contents of foo

I would like this output to also have the filename printed:

$ head -n -0 --always-print-filename foo
==> foo <==
contents of foo

I am using coreutils 8.30.

Thus, I am asking that something equivalent to --always-print-filename
be added to GNU "head".

Thank you for considering this feature request!

--verbose should do this already.

cheers,
Pádraig

Reply via email to