![]() |
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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| parsing variable contents with comma delimter | ankimo | Shell Programming and Scripting | 3 | 09-22-2008 08:58 AM |
| parsing a string into variable | Anubhav | Shell Programming and Scripting | 5 | 02-10-2006 01:02 PM |
| Parsing a variable length record | Barb | UNIX for Dummies Questions & Answers | 17 | 10-01-2004 08:37 AM |
| Parsing a variable string | pageld | Shell Programming and Scripting | 5 | 04-28-2004 09:12 AM |
| Parsing data and retaining the full length of variable | app4dxh | Shell Programming and Scripting | 3 | 11-22-2002 12:04 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
parsing a variable
Hi,
I want to get an input from user and parse the input. The legal characters allowed in the input are alnum(a-zA-Z0-0), . , - Also the first and las characters must be alnum only. e.g if the input is abc.ghh-sok.com then the script should return correct, and if the input is like abc#.def.com-fhj then the script should return incorrect. I am new to scripts so help me with this problem of parsing? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|