wp.jochen.hayek.name/blog-en

displaying files (on a UNIX command line), each file together with its names

displays each file with its name before its content:
$ head -999 file-a file-b file-c

displays each file with its name before each line of its content:
$ pipegrep ” cat file-a file-b file-c

Search the web for pipegrep, if you are interested in it! It is written in one word.

Exit mobile version