![]() |
|
|
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 |
| formating number strings | nhatch | UNIX for Dummies Questions & Answers | 10 | 04-28-2009 01:55 AM |
| Varying number of awk search strings | CarlosNC | Shell Programming and Scripting | 2 | 11-24-2008 10:34 AM |
| Parse apart strings of comma separated data with varying number of fields | 2reperry | Shell Programming and Scripting | 7 | 09-12-2008 02:33 PM |
| calculate the number of days left in a month | dunryc | Shell Programming and Scripting | 8 | 08-12-2008 02:07 PM |
| printing strings in one X number of times from another | dcfargo | Shell Programming and Scripting | 5 | 06-16-2008 06:48 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
calculate number of strings in a variable
Hi all
I have a variable called "variable" and is of the form variable ="AAA BBB CCC DDD" {basically it has values separated by spaces} What is the simplest way to check if "variable" has more that one value in its list? Thanks. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|