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.
scripting question
Name: jane79 Date: December 29, 2003 at 09:34:43 Pacific OS: redhat 8 CPU/Ram: p4,512k
Comment:
Does anyone know the correct format to execute grep command as below?
In my case (this is a part of my script):
#cat file.txt abc-
if i do
#grep '\<abc-\>' file.txt no output appeared.
but if i do
#grep '\<abc\>' file.txt output is "abc-"
I need to use #grep '\<abc-\>' file.txt and need the output in order to make my script runs correctly.
Any idea, advice, helps are really much appreciated!
Summary: I would have a question on the command "getopts", if I want to perform a command with an unlimited argument such as: foo -cd {filename1 filename2 filename3.....} in the shell script: while...
Summary: I asked this once but maybe my question was too specific... I need to know how to write a script to make sure a process is running every 5 minutes, if it is, do nothing, and if it isn't to have it ...
Summary: I'm wondering if there is anyone who can solve the following problem. I am trying to write a script that will iterate through several consecutive subpages within a website, such as http://www.blah.com...