Yes & no.
There are a couple of different way to solve the problem.
The inside driver.sh where you want the hostname to appear place a $1
HTH & YMMV! Big Planet wrote: Hi geeks ,How can I do substr and instr kind of operaion in unix shell script . is it possible ?like i have one paramter as "hostname" .. I want to trim quotes surrounding the hostname .One more question , is possible to read another text file line by line using a shel script and then edit that file .Actually I have this configuration file for my system which have keywords like $HOSTNAME$ , $SCHEMA$ which I want to replace with actual values at the time of installation by asking questions to the user. TIA--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