Bug in csh
Jonathan Knight
jonathan at cs.keele.ac.uk
Wed Nov 23 21:43:35 AEST 1988
In article <428 at kl-cs.UUCP>, jonathan at cs.keele.ac.uk (Jonathan Knight) writes:
> Bug: The csh dirs command is documented as producing an
> abbreviated output form using ~ unless the -l option
> is used. However if `dirs` is used the full path name
> is returned without the -l option.
> % echo `dirs`
> /fs/cs/jonathan
> echo `dirs` should have produced ~.
Ooops. The dirs command does produce the ~ output, but it is expanded
into /fs/cs/jonathan by the shell.
% echo "`dirs`"
~
The expansion is suppressed by putting "'s around the `dirs`.
--
_____ Jonathan Knight, || JANET: jonathan at uk.ac.keele.cs
/ Department of Computer Science || UUCP: ...!ukc!kl-cs!jonathan
/ _ __ University of Keele, Keele, || BITNET: jonathan%cs.kl.ac.uk@
(_/ (_) / / Staffordshire. ST5 5BG. U.K. || ---------------- ukacrl.bitnet
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list