Say like I have hi() everywhere in a shell script and I would like to replace only a hi() to hi(20) right under the line "#modify only the hi() below this line".
Is there anyway that I can locate the line "#modify only the hi() below this line" and then do a replacement on the line right under the cursor?
example:
#!/bin/sh
hi()
some other code
#modify only the hi() below this line
hi() [B]---> this is the hi() i want to modify[/B]
hi()
other code
hi()
other code
hi()
or if there is any other better approach? thanks