![]() |
|
|
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 |
| Korn: How to loop through a string character by character | shew01 | Shell Programming and Scripting | 10 | 12-02-2008 07:58 AM |
| read a variable character by character, substitute characters with something else | vipervenom25 | UNIX for Dummies Questions & Answers | 2 | 06-06-2008 04:18 PM |
| hw can i count the number of character in a file by perl | trupti_rinku | Shell Programming and Scripting | 1 | 10-31-2006 07:27 AM |
| Sed character number specification | mvalonso | UNIX for Dummies Questions & Answers | 4 | 05-10-2006 11:32 AM |
| defining a variable as a number or character? | noobian | UNIX for Dummies Questions & Answers | 1 | 04-26-2005 09:19 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Number or Character
How to find that a given variable is a number or character?
e.g. echo "Enter the number" read var If "$var" is a number then display "Number has been entered" else display "Character has been entered". Thanking you in advance |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|