NOTICE: This site has been archived. All content is read-only and registration is disabled.

A new site is being built and the Basic Action Games Discord server is an active hub for discussion and games.

-Admin

For loop

Let's talk about the very awesome BASH!
Post Reply
User avatar
galahad
Unknown Quantity
Unknown Quantity
Posts: 1
Joined: Fri Jan 09, 2015 12:00 am

For loop

Post 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.
User avatar
MrJupiter
Cosmic Hero
Cosmic Hero
Posts: 1505
Joined: Mon Apr 05, 2010 11:00 pm
Location: Trenton, Ont. (Canada)

Post 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
Post Reply