|
Sed Command & Passing Values
sed "s/^Intf1=.*$/Intf1=${3}/g" ${HOME}server.cfg > ${HOME}temp.ini
replace
s= substitute
^ is matches the beginning of the line with INtf1 replacing everything after - sign
.* means match all characters
$ end of line
How are we able to pass all acharacters without messing uop the sed command
like #%^
|