Hi, Here is the sample. >>export MY=\aaa\bbb.c >>echo $MY | sed -e 's#\\#\/#g' >> /aaa/bbb.c >>out=`echo $MY | sed -e 's#\\#\/#g'` >> sed: -e expression #1, char 8: Unterminated `s' command Try it. Thanks. Zhiguang Qian -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com