![]() |
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 Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Numeric Validation | sumesh.abraham | Shell Programming and Scripting | 12 | 08-04-2008 11:10 AM |
| mv Filename variable to another filename | gzs553 | Shell Programming and Scripting | 3 | 04-14-2008 05:19 PM |
| shortcut for tar cvf - [filename] | gzip > [filename].tar.gz | bcamp1973 | UNIX for Dummies Questions & Answers | 4 | 12-11-2007 05:45 PM |
| validation :file <filename> | u263066 | Shell Programming and Scripting | 2 | 09-26-2006 04:59 AM |
| awk data validation | shihabvk | UNIX for Advanced & Expert Users | 1 | 09-27-2005 09:55 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I'm going through a script someone wrote and has left the company.
I've a file_name -> s31-d173-lookup-20060502111140-sr In the ksh this is a validation : if [[ (${file_name} = @(IG([0-9]|[0-9][0-9])-(*)-(*)-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-([0-9][0-9]|[0-9][0-9]-[0-9][0-9])-sr)) ]]; The validation for the above file_name fails. Any idea why and what is file naming convention the validation expecting ?? Thanks. Regards, F1 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|