Welcome to BASH! - Basic Action Superheroes
Honor + Intrigue!!  Cinematic Swashbuckling Rolepaying Game
  Login or Register
::  Home  ::  Your Account  ::  Forums  ::
   
Menu
 
Site Information
Your IP: 54.162.154.91

Welcome, Anonymous
Nickname
Password

· Register
· Lost Password
Server Date/Time
23 October 2017 11:49:59 UTC (GMT +0)
 
BASH! - Basic Action Superheroes: Forums

BASH - Basic Action Super Heroes :: View topic - For loop

 
 Forum FAQForum FAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups      RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

For loop

 
Post new topic   Reply to topic    BASH - Basic Action Super Heroes Forum Index -> BASH Ultimate Edition Rules
View previous topic :: View next topic  
Author Message
galahad
Unknown Quantity
Unknown Quantity


Joined: Jan 09, 2015
Posts: 1


PostPosted: Fri Jan 09, 2015 1:26 am    Post subject: For loop Reply with quote

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.
Back to top
View user's profile Send private message
MrJupiter
Cosmic Hero
Cosmic Hero


Joined: Apr 06, 2010
Posts: 1437
Location: Trenton, Ont. (Canada)

PostPosted: Mon Jan 12, 2015 7:41 pm    Post subject: Reply with quote

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/BASH-Ultimate-Edition?term=bash
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    BASH - Basic Action Super Heroes Forum Index -> BASH Ultimate Edition Rules All times are GMT - 5 Hours
Page 1 of 1
  
  

Jump to:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001 phpBB Group

All logos and trademarks in this site are property of their respective owner.


The comments are property of their posters, all the rest © 2010 by Basic Action Games.




(Original PHP-Nuke Code Copyright © 2004 by Francisco Burzi)
Page Generation: 0.07 Seconds
:: BASH! style by Basic Action Games ::