bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -a vs -e


From: Dan Douglas
Subject: Re: -a vs -e
Date: Sat, 07 Sep 2013 00:04:13 -0500
User-agent: KMail/4.11.1 (Linux/3.11.1-pf+; KDE/4.11.1; x86_64; ; )

-o and -a are for entertainment.

 ~ $ bash -c 'set -a; [ -o -a -o -a -o ]; echo $?'
1
 ~ $ mksh -c 'set -a; [ -o -a -o -a -o ]; echo $?'
0
 ~ $ bash -c '[ -o -a -o -a > -o -o ]; echo $?'
0
 ~ $ mksh -c 'o=1 [ -o -a -o -a -gt -o ]; echo $?'
0

-- 
Dan Douglas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]