append

Raj Har raj4list at gmail.com
Sun Oct 24 18:18:57 UTC 2010


hello all,
                i am trying to append some thing in some file.

cat r1;
out put 172.24.0.1

sed '10s/$/172.24.0.254/' file.txt          i want replace 172.24.0.254 ip
address by r1 out put.

can we make r1 out put as sed command input??



More information about the redhat-list mailing list