![]() |
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 |
| how to use arrays in c shell | hgphsf | Shell Programming and Scripting | 6 | 12-14-2007 02:03 PM |
| arrays in shell script | melanie_pfefer | Shell Programming and Scripting | 3 | 05-18-2007 08:36 AM |
| Bourne Shell and Arrays | Unbeliever | Shell Programming and Scripting | 2 | 07-25-2005 10:48 AM |
| Shell arrays in oracle stored procedure | superprogrammer | Shell Programming and Scripting | 6 | 06-09-2005 06:36 PM |
| shell: creating different arrays based on function argument | nix21 | Shell Programming and Scripting | 5 | 03-20-2005 11:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||||
|
Hi.
See Csh for a lot of information about csh, including "lists". Code:
#!/usr/bin/env tcsh # @(#) s1 Demonstrate array-like csh features, "lists". echo echo "(Versions displayed with local utility version)" sh -c "version >/dev/null 2>&1" && version tcsh echo set a = ( hello world ) echo " $a[2]" exit 0 Code:
% ./s1 (Versions displayed with local utility version) tcsh 6.13.00 world _____ Standard advice: avoid csh for scripting, use Bourne-family shells. |
|
||||
|
why don't you tap the "Holy Grail of Information"?
man csh will print out to the very screen in front of you all the information there is about csh and all you need to know for your homework. bakunin |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|