Search Results

Search: Posts Made By: TurboArkhan
28,034
Posted By TurboArkhan
so you mean to tell me ALL I needed to do this...
so you mean to tell me ALL I needed to do this whole time was encase all the arguments in quotation? It works perfect with them!... but is there a proper way to omit the quotes?

..... ??... ...
28,034
Posted By TurboArkhan
getopts issue! UPDATED! Please read :)
I am having some trouble/questions with getopts that I can't find any solid info on with google

I need it to parse things of the syntax of:

-r # # # -f [word] [filename] -c [filename]

with...
1,793
Posted By TurboArkhan
With this getopts, I am making some nice...
With this getopts, I am making some nice progress.... but is there a way to dereference $OPTIND? It is the index of the argument, as opposed to the argument...

as soon as I figure this out I...
1,793
Posted By TurboArkhan
ah jeeze my bad I thought I did the code...
ah jeeze my bad I thought I did the code blocks....

anyway, I am confused on how to handle the variables with each case in the getopts command....

like, i do grep -n $1 $2 for findtext.
...
1,793
Posted By TurboArkhan
THanks for the reply......! but erm.... I...
THanks for the reply......! but erm....

I literally just started shell scripting when I started this... so alot of what you posted is confusing me.... can you elaborate some? Im worried that...
1,793
Posted By TurboArkhan
New to shellscripting....need some help!
I have 3 shell scripts below.... I need to write a command line parser
for these 3 utilities.

basically the parser will accept ANY number of commands in this syntax

-r = right -f = findtext -c...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 01:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy