![]() |
|
|
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 |
| To get the characters from a variable | ithirak17 | UNIX for Dummies Questions & Answers | 6 | 03-06-2008 02:34 AM |
| accessing shell script variable in file | HIMANI | UNIX for Dummies Questions & Answers | 6 | 08-07-2007 12:07 AM |
| Accessing remote machine via an enviroment variable | ElCaito | UNIX for Dummies Questions & Answers | 4 | 02-14-2006 09:04 PM |
| Replacing set of characters with a value of a variable | prekida | Shell Programming and Scripting | 1 | 07-26-2005 09:14 PM |
| awk substr and variable for next n characters? | smacleod | UNIX for Dummies Questions & Answers | 1 | 04-16-2002 03:05 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Accessing invidual characters in a variable name
hi,
How do i access individual characters in a string variable value . say i have var=20060731. How do i retrieve 2,0,0,6 etc chars separately. Is there any Field separator in cut or awk to achieve the same? Regards, Suman |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|