Incorrect manage "*" in test -z
Hi All. H have the next bash script code.: #!/bin/sh # Pring OK on empty input, # Print input on non-empty input read INPUT if [ -z "$INPUT" ]; then echo OK else echo $INPUT while read INPUT; do echo $INPUT done fi The function read one input and
Re: Incorrect manage "*" in test -z
ebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm echo $BASH_VERSION 4.3.33(0)-release *** Kind Regards Guillermo B On Fri, Apr 17, 2015 at 9:51 AM, Guillermo Buritica Tobon < gburitic...@gmail.com> wrote: > Hi All. > >