Roberto Nibali wrote:
> Second: What's wrong with the following command line?
>
> awk '/ether/ {print gensub(":","","G",$4)}' < <(ip link show dev eth0)
yow, I don't even know what this is doing.
close
ffff:ff:ff:ff:ff
> This looks very much scriptable to me :)
This brings new meaning to "scriptable" :-)
I had expected that the values output by a command should be in the format
used by the input of the command. This is not a lot to ask.
Joe
--
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
|