![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get the value in last command line argument??? | amit_oddey21 | Shell Programming and Scripting | 4 | 05-28-2008 07:40 AM |
| passing a command line argument | rudoraj | Shell Programming and Scripting | 8 | 06-13-2007 11:06 PM |
| array as command line argument !!!! | spandu | UNIX for Dummies Questions & Answers | 2 | 02-21-2006 01:33 PM |
| repeating previous argument on command line? | hadarot | UNIX for Dummies Questions & Answers | 6 | 08-01-2005 02:41 AM |
| Passing the command line argument in a variable | rkumar28 | Shell Programming and Scripting | 1 | 05-26-2004 03:02 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
command line argument parsing
how to parse the command line argument to look for '@' sign and the following with '.'.
In my shell script one of the argument passed is email address. I want to parse this email address to look for correct format. rmjoe123@hotmail.com has '@' sign and followed by a '.' to be more specific : >abc.sh rmjoe123@hotmail.com abc.sh should parse this email address and look for '@' and '.'. If email address is valid, abc.sh should continue doing what it is doing. Otherwise abort with error message. Response is appreciated. Last edited by rmjoe; 07-28-2005 at 03:10 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|