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