🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #253

Re: Differences between bash-1.12 and ksh88

#253
From: bruce draper
Date: Mon, 03 Aug 1992 21:47
28 lines
1403 bytes
bash-1.12

-- doesn't support 
	[[  ]]

-- doesn't support an expression shift count, i.e.
	shift 3-1
   and what's worse, bash is silent about it :-(

-- doesn't allow for for more than one argument to "-f", "-r", etc. in test, i.e.
	[ -f f0 f1 ]

these last two are arguably sloppiness in ksh that ought not to work.

i've spent a fair amount of time converting ksh scripts to bash (altho
i hadn't discovered your entire list :-) and while i miss the c-ish 
syntax and semantics of [[ ]], esp. the short circuit evaluation, i figure
it's time well spent.   ksh just isn't available everywhere while bash
is quite the traveller.



bruce

-- 
bruce draper              | "just because we make it is no reason for me to
bruce@blazin.dsg.dec.com  |  refrain from observing the emperor has no clothes"
draper@royalt.enet.dec.com|                      -- me
Technical Details
Message-ID: <1992Aug3.214728.7399@nntpd.lkg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!blazin.dsg.dec.com!bruce
References: <9207302048.AA11529@cdp.igc.org>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!blazin.dsg.dec.com!bruce
From: bruce@blazin.dsg.dec.com (bruce draper)
Subject: Re: Differences between bash-1.12 and ksh88
Message-ID: <1992Aug3.214728.7399@nntpd.lkg.dec.com>
Sender: gnulists@ai.mit.edu
Reply-To: bruce@blazin.dsg.dec.com (bruce draper)
Organization: Digital Equipment Corporation
References: <9207302048.AA11529@cdp.igc.org>
Distribution: gnu
Date: Mon, 3 Aug 1992 21:47:28 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 29