Re: bug-bash Digest, Vol 215, Issue 9

2020-10-11 Thread Robert Elz
Date:Sun, 11 Oct 2020 16:26:58 +0700 From:Budi Message-ID: | set -n not work as its supposed job to check validity of a command That is not what it does. When -n is set, commands are not executed, simply parsed. | $ set -n 'echo HI' &&echo Y | Y What that

Re: bug-bash Digest, Vol 215, Issue 9

2020-10-11 Thread Budi
set -n not work as its supposed job to check validity of a command using Bash command inside a script ? for echo command checking $ set -n 'echo HI' &&echo Y Y $ set -n 'eco HI' &&echo Y Y won't do the check, how to solve ? On 10/10/20, bug-bash-requ...@gnu.org wrote: > Send bug-bash mailing l