• [gentoo-user] wiki page(kernel/upgrade) command confusion: 'cat' and 'a

    From russian sky@21:1/5 to All on Fri Jan 14 11:10:01 2022
    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 '*' (the part of awk) have some special meaning which make them necessary on the sentence?

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
    </head>
    <body dir="ltr">
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    <code>the sentence is just as follows:</code></div>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    <code><br>
    </code></div>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    <code>diff &lt;(cat .config | sort) &lt;(cat .config.old | sort) | awk '/^&gt;.*(=|Linux)/ { $1=&quot;&quot;; print }'

    </code></div>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    <code><br>
    </code></div>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    <code>without inserting the 'cat' and '*'(the part of awk),<code>It seems like,</code> the result of the command is the same as before.</code></div>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">

    </div>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">

    </div>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    <span style="font-family: Monospce;">Does the existence of the aboving 'cat' and '*' (the part of awk) have some special meaning which make them necessary on the sentence?</span><br>
    </div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)