Roland Illig 8a4b84b9d7 src/Unix/Darwin/testlmem.sh: make code shorter
The old code used the `[[` shell keyword, which is only available in bash.
The interpreter in line 1 is `/bin/sh` though.
This confused my shell portability check in pkgsrc, since that check neither guesses the target platform from the filename, nor assumes that `/bin/sh` is actually bash, even though this may be true on macOS.

The change makes the code shorter with the well-known `${var:-default}` pattern.
Since `$1` is now only accessed when it is defined, this allows the program to have a `set -eu` at the top.
This in turn would make all the `&&` redundant since it applies automatic error checking.

The `{ ... } 1>&2` could also be replaced with a single `exec 1>&2` at the top.
2020-05-05 19:48:35 +02:00
2018-10-28 13:28:06 +01:00
2018-02-25 17:44:08 +01:00
2012-06-18 19:15:37 -04:00

BasiliskII

Build Status

Description
Basilisk II and SheepShaver Macintosh emulators
Readme 23 MiB
Languages
C++ 66.1%
C 26.4%
M4 2.6%
Objective-C++ 1.7%
Assembly 1.2%
Other 1.9%