🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Andy Fyfe Tue, 13 Jun 1989 23:31
precedence of -a over -o in bash-0.99 test
#88
Author: Andy Fyfe
Date: Tue, 13 Jun 1989 23:31
9 lines
667 bytes
    bash$ if [ x -o y -a "" ]; then echo yes; else echo no; fi
    no
    bash$ enable -n [
    bash$ if [ x -o y -a "" ]; then echo yes; else echo no; fi
    yes

test(1) is advertised as giving precedence to -a over -o.  Bash should
do the same.
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