Edit file

2002-01-11 Thread Rob
Howdy! 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 would like to look for this line: import visualiser.HostIDVPatcher; and edit it to this: // import visualiser.HostIDVPatcher; Can I do this? I tried using

RE: Edit file

2002-01-11 Thread Ebrey, Carl
. HTH, Carl -Original Message- From: Rob [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 1:48 PM To: Cygwin Subject: Edit file Howdy! 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 would like to look

Re: Edit file

2002-01-11 Thread Gerrit P. Haase
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