🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #259

Re: Differences between bash-1.12 and ksh88

#259
From: Donn Cave
Date: Wed, 05 Aug 1992 18:56
19 lines
1245 bytes
chet@odin.ins.cwru.edu (Chet Ramey) writes:

|>    5) $(< file) doesn't work

| Use $(cat file), as the Posix.2 spec suggests.

Too bad, this is a nice feature in ksh.  Seems like it would be faster
and cleaner (don't have to worry about PATH, for example, to find "cat").
I use it a lot, and replacing it with $(cat file) would feel to me like
replacing  cmd<file  with  cat file|cmd.

No surprise to see that POSIX 1003.2 doesn't demand this feature - but does
it deprecate it in some way?

Incidentally, I may have missed this but I don't recall seeing any mention
of (( )) and [[ ]], which one may find in ksh but not bash.

	Donn Cave, University Computing Services, University of Washington
	donn@cac.washington.edu
Technical Details
Message-ID: <1992Aug5.185618.27092@u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!carson.u.washington.edu!donn
References: <9208031107.AA10483.SM@odin.INS.CWRU.Edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!carson.u.washington.edu!donn
From: donn@carson.u.washington.edu (Donn Cave)
Subject: Re: Differences between bash-1.12 and ksh88
Message-ID: <1992Aug5.185618.27092@u.washington.edu>
Sender: gnulists@ai.mit.edu
Organization: University of Washington
References: <9208031107.AA10483.SM@odin.INS.CWRU.Edu>
Distribution: gnu
Date: Wed, 5 Aug 1992 18:56:18 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 20