In trying to do some sed stuff, I am running "sed '/host/ s/$/QQQ/g' junk" on the file junk.
File - junk
The output of this command in Kubuntu 9.04 is:
While in Fedora 11, it is:
Anyone heard of any goofy stuff with sed like this in (K)Ubuntu?
File - junk
Code:
host Example_1 filename-"gfnwd.cfg"; hardware-ethernet-00:13:11:fd:7a:88; fixed-address-10.10.6.19; } host Example_2 filename-"gfnwd_280.cfg"; hardware-ethernet-00:10:3d:14:30:ce; fixed-address-10.10.6.59; } host Example_13 filename-"robnmic1.cfg"; hardware-ethernet-00:10:3d:12:9e:c8; fixed-address-10.10.3.30; }
Code:
QQQost Example_1 filename-"gfnwd.cfg"; hardware-ethernet-00:13:11:fd:7a:88; fixed-address-10.10.6.19; } QQQost Example_2 filename-"gfnwd_280.cfg"; hardware-ethernet-00:10:3d:14:30:ce; fixed-address-10.10.6.59; } QQQost Example_13 filename-"robnmic1.cfg"; hardware-ethernet-00:10:3d:12:9e:c8; fixed-address-10.10.3.30;
Code:
host Example_1QQQ filename-"gfnwd.cfg";filename-"gfnwd.cfg"; hardware-ethernet-00:13:11:fd:7a:88; fixed-address-10.10.6.19; } host Example_2QQQ filename-"gfnwd_280.cfg"; hardware-ethernet-00:10:3d:14:30:ce; fixed-address-10.10.6.59; } host Example_13QQQ filename-"robnmic1.cfg"; hardware-ethernet-00:10:3d:12:9e:c8; fixed-address-10.10.3.30; }
Comment