Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Help : Bash script to access all fi
Name: shinni Date: January 30, 2005 at 21:41:47 Pacific OS: Linux CPU/Ram: P4,256
Comment:
I need soem help regaridng one script i want to write. I am a new bie in writing scripts, so this doubt may be a simple one.
I am trying to apply a parsing program to a set of input files in a directoy. How can i access all the files from a source directory , one by one and to write the output files with another name to some directory ? i.e my exe file is a.out I have input files 1.txt,2.txt .. in one directory. I need this cmd line ./a.out <inputfilename> > <outputfilename> , on all input files.
can i write a loop to get all files like this ? right now i am writing the same line again and again to apply to all files..
Summary: Hello! I am a newbie to scripting and I'm trying to start an application via a bash script after checking to make sure that two condititions do (or do not) exist first. I've attempted to write down w...
Summary: was wondering if you could help me with a script to remove ALL the lines in a file that contain the word "BOUNDARY". I have the script like this so far, but It will only remove the first occurance of...
Summary: Hi everyone. I am a Linux scripting newbie and and was hoping to get some assistance with a bash script I am working on. I am attempting to write a bash script to determine if a user specified file is...