Am Fri, Jan 14, 2022 at 10:05:54AM +0000 schrieb russian sky:
> the sentence is just as follows:
> 
> diff <(cat .config | sort) <(cat .config.old | sort) | awk '/^>.*(=|Linux)/ { 
> $1=""; print }'
> 
> without inserting the 'cat' and '*'(the part of awk),It seems like, the 
> result of the command is the same as before.
> 
> 
> Does the existence of the aboving 'cat'

This, in my opinion, is a case of “useless use of cat”.
`cat somefile | sort` can be replaced by “sort file”.

> and '*' (the part of awk)

I don’t quite follow. Do you mean the “.*”, so you replace .* with .?

-- 
Grüße | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

Fat stains become like new if they are regularly treated with butter.

Attachment: signature.asc
Description: PGP signature

Reply via email to