Problems with variable substitution in C-Shells
Maarten Litmaath
maart at cs.vu.nl
Tue Dec 4 06:33:57 AEST 1990
In article <11585.27563778 at ecs.umass.edu>,
lim at ecs.umass.edu writes:
)...
)Suppose I have:
)@ num = 5
)set str = num
)alias ech 'echo $\!*'
)
)So:
)(ech str) will output num, but (ech $str) won't output 5. The error message
)says: variable syntax.
alias ech 'eval echo \$\!*'
--
Q: "Is there a newsgroup for astrology/para-normal?"
A: "Why don't you consult the stars and find out ??"
-- Phil Watson <pwatson at sunb.mqcc.mq.oz.au>
More information about the Comp.unix.shell
mailing list