🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.shell
1 messages
1 total messages Started by lim Mon, 03 Dec 1990 21:14
Variable substitution in a C Shell (Summary)
#1890
Author: lim
Date: Mon, 03 Dec 1990 21:14
12 lines
556 bytes
Thanks to all who replied to my question about variable substitution in a C 
Shell. Here's a summary of what I got:

@ base = 5
set level1 = base
set level2 = level1

eval echo \$$level1 ==> 5
eval echo \$`eval echo \$$level2` ==> 5


Jonathan Lim
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads