[SunHELP] quoting and script generation

Markham, Richard RLMarkham at hafeleamericas.com
Thu Feb 12 11:51:43 CST 2004


I'm trying to generate a text file which will contain alot
of ' and " punctuation marks (an RMAN command script).

example:

#! /bin/ksh
echo run{ > test.out
echo 'allocate channel t1 type 'sbt_tape' parms="ENV=(NB_ORA_CLIENT=mydb)";'
>> test.out

~~
the resulting test.out is missing the ' marks around sbt_tape.

TIA



More information about the SunHELP mailing list