The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cat operation trichyselva UNIX for Dummies Questions & Answers 0 03-24-2008 02:55 AM
Array operation phamp008 Shell Programming and Scripting 3 01-18-2008 01:31 AM
string operation fongthai Shell Programming and Scripting 6 11-24-2006 02:26 AM
Problems with sum operation burakkilic UNIX for Dummies Questions & Answers 2 05-15-2006 09:52 AM
AIX 4.3 Openssh 3.7.1.0 Operation ripley AIX 2 03-07-2005 09:56 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-11-2008
Registered User
 

Join Date: May 2008
Posts: 29
Stumble this Post!
Unhappy string operation

i am new user of unix.i have a question.My script is-

export STR_ALFA=`head -2 "${FILE_PATH}"|tail -1|cut -d"," -f1`
"${TEST_HOME}"/function/chk_alfa.ksh STR_ALFA

now i want to check STR_ALFA:

1)whether is alphabetic
2)whether is numeric
3)whether is alphanumeric
-------------------------------
please provide me necessary code to check this.[/b]please provide 4 code

Last edited by arghya_owen; 06-11-2008 at 04:04 AM. Reason: sample script
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-11-2008
Moderator
 

Join Date: Feb 2007
Posts: 1,928
Stumble this Post!
What have you done to attempt to solve this problem yourself?
Post your sample script, and we'll see how we can assist.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0