Another bug with csh - `cat /tmp/a`
Bruce G. Barnett
barnett at vdsvax.steinmetz.ge.com
Fri Aug 19 06:14:45 AEST 1988
I think I have found another bug with csh (surprise! :-)
Systems: SunOS 4.0, Ultrix 2.3. any many many more.
try this:
echo ls >/tmp/a
`cat /tmp/a`
results:
ls: Command not found.
try
echo /bin/ls >/tmp/a
`cat /tmp/a` works
But
`/tmp/a`
gives:
a: permission denied
: permission denied
Why two errors?
Now when I try:
`junkname`
where junkname does not exist, I get:
junkname: Command not found
/usr/ucb/: Permission denied
Sometimes the directory is different from /usr/ucb/:
Let's hear it for ad-hoc parsing. Is this a known bug?
--
Bruce G. Barnett <barnett at ge-crd.ARPA> <barnett at steinmetz.UUCP>
uunet!steinmetz!barnett
More information about the Comp.unix.questions
mailing list