On Tuesday 04 June 2002 12:06, Philip S Tellis wrote:
> On Tue, 4 Jun 2002, Shridhar Daithankar wrote:
> t=`echo $ORACLE_HOME | sed -e 's/\\\\/\\\\\\\\/g'`

Doesn't work.. it says -e option requires an argument but this thing 
works.... kind of.. counting number of \ is another headache but managable..

[shridhar@daithan shridhar]$ echo "s/'\\\\'/'\\\\\\\\'/g" >file
[shridhar@daithan shridhar]$ t=`echo $ORACLE_HOME| sed  -f file `
[shridhar@daithan shridhar]$ echo $t
d:\oracle\oracle9


> and start sufferring from backslashitis.

Yes. That's what one has to do to make MSDEV exported makefiles machine 
independent, with the help of some environment variables. Otherwise we were 
keeping separate build machines..and I have gone thr. hundreds of fscked 
msdev makefiles for that. Now I know what a royal PITA is..

 Shridhar

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to