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 -
This is rather off topic since it's not a cygwin problem, IMO, but I'll help
you anyway because I'm nice like that :P
What you probably want is:
bash$ cat visualiser/PositionData.java | sed "s!import
visualiser.HostIDVPatcher;!//import visualiser.HostIDVPatcher;!" > out.txt
I've used ! instead
2 matches
Mail list logo