I am using raspbian stretch, terminal window. superuser activated.
In directory /var/log/apt the history.log.1.zg file is marked as gz format.
I want to look for lines with the word install in them.
I didn't necessarily want to uncompress the file. I executed the command
gunzip history.log.1.gz | g
d.s.robert...@protonmail.ch wrote:
I just wonder if a pipe might automatically be interpreted as providing the
contents and leaving the original unchanged?
That would run afoul of the Unix tradition that programs shouldn't care about
where stdout is going. This is part of the GNU Coding Stand