![]() |
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 |
| help need to find the length of a variable | smr_rashmy | Shell Programming and Scripting | 7 | 02-18-2008 06:02 AM |
| use awk to read variable length csv | shweta_d | Shell Programming and Scripting | 3 | 06-18-2007 01:16 AM |
| Length of an indirect variable | gone_bush | Shell Programming and Scripting | 0 | 03-28-2006 07:17 PM |
| Set length for System Variable | bryanthomas | Shell Programming and Scripting | 2 | 01-12-2006 02:32 PM |
| creating a fixed length output from a variable length input | r1500 | Shell Programming and Scripting | 2 | 12-03-2003 01:09 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I have another question, I am very new to scripting. I am using c shell. I am trying to get the length of a variable. Right now I am using set var = 12 echo $#var but the # operator isn't working, it is telling me that the length is 1 when it is obviously two.... help! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|