Re^2: csh question
Maarten Litmaath
maart at cs.vu.nl
Fri May 26 01:31:39 AEST 1989
\From article <19712 at adm.BRL.MIL>, by nodak.edu>@adm.BRL.MIL:
\...
\% set ab = (spi kev ish ere)
\% echo $ab[1]
\spi
\% alias test ' foreach x (1 2 3) \
\echo $ab[$x] \
\end '
\% test
\? ?
\DISCONNECTED from 04/118
It's a known csh bug. Compare with:
% alias printf 'foreach i ( hello , world ! )\
echo $i\
end'
% printf
? ? Segmentation fault (core dumped)
--
"`Goto considered harmful' considered |Maarten Litmaath @ VU Amsterdam:
harmful" considered harmful! |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.unix.questions
mailing list