![]() |
|
|
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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "too big" and "not enough memory" errors in shell script | jerardfjay | AIX | 11 | 03-16-2009 11:09 PM |
| simple shell - how to get a parameter typed in a shell script | cmitulescu | Shell Programming and Scripting | 4 | 01-09-2009 08:45 PM |
| how to find the path of a file when it is passed as ....filename(parameter) to script | yahoo! | Shell Programming and Scripting | 3 | 07-24-2008 09:01 AM |
| checking parameter values passed to script | ammu | UNIX for Dummies Questions & Answers | 2 | 10-05-2007 01:35 PM |
| manipulate a passed in parameter | rudoraj | Shell Programming and Scripting | 2 | 06-11-2007 02:04 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Detecting Doublequotes(") When passed as parameter to shell script
Hi,
I am executing a shell script which takes a string as a parameter. The scipt should validate the string and create the directoy with the name of specfied string. The following is the specified command and its parameter. test.sh "abc abc" The shell script is not able to identify that the parameter "abc abc" as a single parameter. It takes the input as 2 parameters as it cannot identify the quotes (") specified. Please suggest me how can I identify that qoutes have been specified as the input parameter. So, if I am able to identity the quotes in the input parameter then I will throw an error in the cases where input "abc abc" or similar is given. Thanks in advance Raghu |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|