Am Fri, Jan 14, 2022 at 02:38:22PM + schrieb russian sky:
> > I don’t quite follow. Do you mean the “.*”, so you replace .* with .?
> Yes. Based on the explanation of '*' in the gawk manual, it's
> used to match zero/one/more times repeating of the preceding character which
> in turn doesn't
> This, in my opinion, is a case of “useless use of cat”.
> `cat somefile | sort` can be replaced by “sort file”.
Agree with that, i will attempt to add an replacing
adivce to the talking page of the kernel/upgrade wiki
page.
> I don’t quite follow. Do you mean the “.*”, so you replace .* with
Am Fri, Jan 14, 2022 at 10:05:54AM + 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
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' and '*'
4 matches
Mail list logo