19 Jun
2018
19 Jun
'18
07:18
On 06/19/2018 12:00 AM, David Haller wrote:
( t() { printf "$1: "; if [ 0$1 -ne 0 ] ; then printf "Hello" ; fi ; printf "\n"; }; t ; t 0 ; t 1; t 2; ) : 0: 1: Hello 2: Hello
Yes, this is an alternative approach, this trick is actually being used in the configure script of OpenJDK. But whether I use this approach or the string conversion doesn't really change the end result in this particular context. Adrian -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org