![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
cleandisk and awk
Hi guys,
I have a script that i done but now i wanna do something like this . The name of the script is cleandisk and it has some options. cleandisk -I -a cleandisk -I -v When you type -I -a it should do something and its the same way to the other option, if you type only an argument like cleandisk -I , it should print a message , and when you type no argument it gives another message. I tried with awk an if, but i think i´m not doing it right. Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|