![]() |
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 |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| egrep syntax question | DKNUCKLES | Shell Programming and Scripting | 1 | 11-18-2007 04:46 PM |
| Simple Awk Question: If Syntax | natdeamer | Shell Programming and Scripting | 1 | 09-10-2007 12:53 PM |
| Setting a variable (need syntax help) | Slanter | UNIX for Dummies Questions & Answers | 1 | 05-29-2006 02:23 PM |
| Syntax to export any variable | malaymaru | Shell Programming and Scripting | 5 | 05-17-2005 04:16 AM |
| awk syntax question | hcclnoodles | Shell Programming and Scripting | 2 | 10-28-2004 12:45 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
C-shell: variable syntax question
There is a possibility to set a variable, having an another variable in it's name:
prompt% setenv PRT one prompt% setenv VAR_${PRT} value prompt% So, this way the VAR_one = "value" and could be viewed: prompt% echo VAR_one value prompt% Q: How to view a variable having another var in it's name? The echo $VAR_${PRT} or echo ${VAR_${PRT}} does not work |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|