🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Mark Buda Sun, 16 Jul 1989 04:08
bash/sh incompatibility
#333
Author: Mark Buda
Date: Sun, 16 Jul 1989 04:08
21 lines
1289 bytes
Greetings. I've just gotten bash to work on a Genix 4.1BSD system. Well,
almost - job control is still screwed up. I got a copy of bash because
I want to run C news, which relies heavily on shell scripts, and my Bourne
shell is broken (plus the fact that I collect software, especially free
software). Now, C News warns the user somewhere in the documentation that
certain parts of it rely on precise compatibility with the Real Bourne Shell -
things that even the Korn shell gets wrong. Not having a copy of the Korn
shell, I don't know what these are... but here's an incompatibility I just
found:

test " 5" -le 0
is accepted by the Bourne shell. Bash complains that it wants an integer
before a -le.

A more complete list is sure to follow.

Mark Buda
hermit@chessene.uucp
devon.lns.pa.us!chessene!hermit
...!rutgers!devon!chessene!hermit
hermit%chessene@devon.lns.pa.us
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads