FW: OT: unix script quetion: to replace $ with \$

2003-02-04 Thread gmei
SQL show user; USER is ISI SQL select segment_name from user_segments 2 where segment_type='TABLE' 3 and segment_name like 'DR$%' 4 order by segment_name; SEGMENT_NAME DR$ABSTRACT_TEXT$I DR$ABSTRACT_TEXT$R

Re: FW: OT: unix script quetion: to replace $ with \$

2003-02-04 Thread Suzy Vordos
The shell is interpreting $string as a variable. You need to escape $, like this: ISI.DR\$TEST_CONTEXT\$R gmei wrote: SQL show user; USER is ISI SQL select segment_name from user_segments 2 where segment_type='TABLE' 3 and segment_name like 'DR$%' 4 order by segment_name;