From: JenC Date: 2009-03-25T17:51:52+09:00 Subject: Re: problem with gsub! in file > Are you sure you did just 'myfile.vcproj' and not '< myfile.vcproj'? aha! that was it! Thanks so much! On Mar 24, 5:46 pm, Adam Gardner wrote: > JenC wrote: > > Thanks Adam.  I tried this: > > ruby -p -i.bak -e 'gsub(/foo/,"bar")'  myfile.vcproj > > > but them I get a whole load of warnings: > > -e:1: warning: Can't do inplace edit for stdio > > > and the file still doesn't change... any ideas? > > > best, > > Jen > > -- > Posted viahttp://www.ruby-forum.com/.