No No . Here is full problem
I have this ini file called xyz.ini having
hostname = $HOSTNAME$.acme.com
schemaname=$SCHEMANAME$
domainname= $HOSTNAME$.foo.bar.com
okay , Now I am getting the values of hosname as
"abc" , schema name as "schem" .
I want to write a script in which I will pass these
parameters and they will do a search and replace kindof operation.
I was thinking of using sed , but how to get rid of
quotes because my $1 is "abc" so after replacement file will become
hostname = "abc".acme.com
schemaname="schem"
domainname= "abc".foo.bar.com
while I want it to be like
hostname = abc.acme.com
schemaname=schem
domainname= abc.foo.bar.com
- Big Planet
|
- Unix question Big Planet
- Re: Unix question Charlie Mengler
- RE: Unix question Mandar Ghosalkar
- RE: Unix question Big Planet
- RE: Unix question Chuck Hamilton
- RE: Unix question Brian MacLean
- RE: Unix question Brian MacLean
- Unix question Roland . Skoldblom
- Re: Unix question Patrik Malinen
- RE: Unix question John Dunn
- Re: Unix question Jay Hostetter
- Re: Unix question nlzanen1
- RE: Unix question Robertson Lee - lerobe
- RE: Unix question Rao, Maheswara