[PATCH 06/10] contrib/examples/git-resolve.sh: don't use the -a or -b option with the test command

2014-05-15 Thread Elia Pinto
Even though POSIX.1 lists -a/-o as options to test, they are marked Obsolescent XSI. Scripts using these expressions should be converted as follow: test $1 -a $2 should be written as: test $1 test $2 Likewise test $1 -o $2 should be written as: test $1 test $2 But note that, in test, -a

[PATCH 06/10] contrib/examples/git-resolve.sh: don't use the -a or -b option with the test command

2014-05-15 Thread Elia Pinto
Even though POSIX.1 lists -a/-o as options to test, they are marked Obsolescent XSI. Scripts using these expressions should be converted as follow: test $1 -a $2 should be written as: test $1 test $2 Likewise test $1 -o $2 should be written as: test $1 test $2 But note that, in test, -a