Is my shell broken or what?

The Grey Wolf greywolf at unisoft.UUCP
Wed Jun 19 07:39:01 AEST 1991


/* <1991Jun7.140828.20332 at prl.dec.com> by boyd at prl.dec.com (Boyd Roberts)
 * In article <1991Jun7.115837.8545 at mp.cs.niu.edu>, rickert at mp.cs.niu.edu (Neil Rickert) writes:
 * > rickert 2> echo ${test2}
 * > Variable syntax.
 * 
 * Don't you just hate it when the syntax is `variable' :-)

That C shell bug is pretty prevalent -- no version doesn't do that right.
(I could probably hack up a fix, but it'd have to wait for BSD 4.4)...

My shell tells me:
Your variable has an identity crisis.

 * 
 * Avoid C shell, use `rc':
 *

Is rc publicly available?  I seem to remember seeing it fly around...

 *     ; '{([<*>])}2' = stuff

..exCUSE me?

 *     ; echo $'{([<*>])}2'
 *     stuff

Eeyagh.

 *     ;
 * 
 * Variable names?  No problem.
 * 
 * 
 * Boyd Roberts			boyd at prl.dec.com
 * 
 * ``When the going gets wierd, the weird turn pro...''

As is evidenced above by the (ab)use of rc above.

Beats the hell out of any other shell I've seen!



More information about the Comp.unix.shell mailing list