I'm using sed on cygwin. I have a problem with -i option.
----- ----- ----- ----- ----- kei@cygwin% cat test apple kei@cygwin% ls test kei@cygwin% cat test apple kei@cygwin% sed -i "s/apple/orange/g" test kei@cygwin% cat test apple kei@cygwin% ls sed003980 test kei@cygwin% cat sed003980 orange kei@cygwin% ??? ----- ----- ----- ----- ----- I have no idea of what's happening. The version before this newest version seemed to work fine, but I forgot that version number... Does anybody have the same problem with me? And how can I fix this problem? Thank you in advance. ----- ----- ----- ----- ----- Environments OS : Windows2000 Professinal SP3 Processor : Pentium3 1G software versions kei@cygwin% uname -srv CYGWIN_NT-5.1 1.3.20(0.73/3/2) 2003-02-08 12:10 kei@cygwin% sed -V GNU sed version 4.0.1 ----- ----- ----- ----- ----- -- Kei Tsuji -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/