For loop
Posted: Fri Jan 09, 2015 1:26 am
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.
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.