bug#22216: test, expr Operator Precedence and Associativity

2015-12-21 Thread Eric Blake
On 12/21/2015 05:00 PM, 積丹尼 Dan Jacobson wrote: > OK. Also make sure (info "(coreutils) test invocation") makes it clear that > one cannot use > test -f $1 -a $1 ! -ot $2 #and must use > test -f $1 -a ! $1 -ot $2 #. Use of -a in test is inherently non-portable. POSIX even says so - there are

bug#22216: test, expr Operator Precedence and Associativity

2015-12-21 Thread 積丹尼 Dan Jacobson
> "EB" == Eric Blake writes: EB> On 12/21/2015 05:00 PM, 積丹尼 Dan Jacobson wrote: >> OK. Also make sure (info "(coreutils) test invocation") makes it clear that >> one cannot use >> test -f $1 -a $1 ! -ot $2 #and must use >> test -f $1 -a ! $1 -ot $2 #. EB> Use of -a in

bug#22216: test, expr Operator Precedence and Associativity

2015-12-21 Thread 積丹尼 Dan Jacobson
OK. Also make sure (info "(coreutils) test invocation") makes it clear that one cannot use test -f $1 -a $1 ! -ot $2 #and must use test -f $1 -a ! $1 -ot $2 #.

bug#22199: Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubuntu5.3_amd64

2015-12-21 Thread Dave
On 12/18/2015 4:28 AM, Pádraig Brady wrote: On 18/12/15 00:23, Dave wrote: df's output shows this on a standard run(df with no flags): Filesystem 1K-blocks Used Available Use% Mounted on udev 1953632 4 1953628 1% /dev tmpfs 400436 1216

bug#22216: test, expr Operator Precedence and Associativity

2015-12-21 Thread Pádraig Brady
On 21/12/15 17:18, Dan Jacobson wrote: > $ man perlop # has a 50 line section called >Operator Precedence and Associativity > > Might (info "(coreutils) test invocation") not fully specify test's? > Might (info "(coreutils) expr invocation") not fully specify expr's? expr precedence is quite

bug#22216: test, expr Operator Precedence and Associativity

2015-12-21 Thread Pádraig Brady
On 22/12/15 00:21, 積丹尼 Dan Jacobson wrote: >> "EB" == Eric Blake writes: > > EB> On 12/21/2015 05:00 PM, 積丹尼 Dan Jacobson wrote: >>> OK. Also make sure (info "(coreutils) test invocation") makes it clear that >>> one cannot use >>> test -f $1 -a $1 ! -ot $2 #and must use

bug#22216: test, expr Operator Precedence and Associativity

2015-12-21 Thread 積丹尼 Dan Jacobson
> "PB" == Pádraig Brady writes: PB> +Also @samp{!} is a shell special character and needs to be quoted. Perhaps say instead: Also @samp{!} is often a shell special character and is best used quoted.

bug#22216: test, expr Operator Precedence and Associativity

2015-12-21 Thread Dan Jacobson
$ man perlop # has a 50 line section called Operator Precedence and Associativity Might (info "(coreutils) test invocation") not fully specify test's? Might (info "(coreutils) expr invocation") not fully specify expr's?