|
Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006
Awk on the $ 0
If we only change the awk and recorded no change in the OFS, print $ 0,
OFS gone. I saw the essence of the message which we have discussed, but did not conclude that the author is wrong : awk mrgreen : |
-->
^. .^~~~/
(Oo) __) |
-->
Some other explanation?
[code]awk 'BEGIN{RS= "&L" }$1=$1' [/code] This is the code r2007
If $ 0=$0 can? There is no experimental environment : shock : |
-->
Creative! Collection! |
-->
: O
My question? Any other explanation? Awk is the author is wrong? Can change. I just try not to the results of the next $ 0=$0 |
Http://www.gnu.org/software/gawk/manual/html_node/Changing-Fields.html#Changing-Fields
Finally the area |
-->
There is a flip side to the relationship between $ 0 and the fields. Any assignment to $ 0 causes the record to be reparsed into fields using the current value of FS. This also applies to any function that updates built $ 0. such as sub and gsub
Mrgreen mrgreen : : : : Thank you, said the last paragraph, or we have to find a long time |
| |