Path: utzoo!attcan!uunet!mcvax!ukc!kl-cs!jonathan From: jonathan@cs.keele.ac.uk (Jonathan Knight) Newsgroups: comp.bugs.4bsd Subject: Re: Bug in csh Summary: Well there goes my street cred. Message-ID: <429@kl-cs.UUCP> Date: 23 Nov 88 11:43:35 GMT References: <428@kl-cs.UUCP> Organization: U. of Keele, Staffs. U.K. Lines: 19 In article <428@kl-cs.UUCP>, jonathan@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@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