Page 1 of 1

For loop

Posted: Fri Jan 09, 2015 1:26 am
by galahad
I am getting back into bash and this is probably really simple but I am drawing a blank or over thinking it or both.

I want to use grep to find everywhere a certain string is found. I want the for loop prompt the user to delete the first match it finds and then go to the next one and then so on and so forth.

Posted: Mon Jan 12, 2015 7:41 pm
by MrJupiter
Sorry galahad, but this BASH forum is for the BASH: Ultimate Edition tabletop, role-playing game (as well as its spin-offs: BASH SCI-FI and BASH FANTASY).

http://www.rpgnow.com/product/65882/BAS ... ?term=bash