🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #149

evaluation order wrong?

#149
From: Roland McGrath
Date: Mon, 26 Jun 1989 15:47
16 lines
604 bytes
The evaluation order of ~ vs $ is not like csh's.  Maybe this is wrong?

For example, in bash:

foo='~/bin'
echo $foo
~/bin
echo ~/bin
/gp/fsf/roland/bin


In csh:

set foo='~/bin'
echo $foo
/gp/fsf/roland/bin
Technical Details
Message-ID: <8906270547.AA01124@hobbes.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AI.MIT.EDU!roland

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AI.MIT.EDU!roland
From: roland@AI.MIT.EDU (Roland McGrath)
Newsgroups: gnu.bash.bug
Subject: evaluation order wrong?
Message-ID: <8906270547.AA01124@hobbes.ai.mit.edu>
Date: 26 Jun 89 15:47:14 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 16