Edit file
Gerrit P. Haase
freeweb@nyckelpiga.de
Fri Jan 11 06:22:00 GMT 2002
Rob,
2002-01-11 15:07:14, du schriebst:
> I would like to make a script that can change a line in a file.. commenting
> out a line in a java source file to be precise.
[...]
> I tried using sed with this line:
Hey, we have perl for cygwin! Perl offers much more than sed does:-)
perl -i.bak -p -e \
's#import visualiser.HostIDVPatcher;#// import visualiser.HostIDVPatcher;#;' \
/your/path/to/javasourcefile
relaxedGerrit
--
=^..^=
--
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/
More information about the Cygwin
mailing list