🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1262

Re: Bug in csh

#1262
From: Jonathan Knight
Date: Wed, 23 Nov 1988 11:43
19 lines
1228 bytes
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
Technical Details
Message-ID: <429@kl-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!ukc!kl-cs!jonathan
References: <428@kl-cs.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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