On 2017-09-14 05:54, David Boyce wrote:
> At one time "case" was necessary with
> patterns because "if" didn't handle them, but in the POSIX shell they take
> the same pattern constructs so you could say "if [[ $$target =  i386-*- ]];
> then ... else ... fi".

Is this true? I can only find POSIX saying otherwise:

     The following words may be recognized as reserved words on
     some implementations (when none of the characters are quoted),
     causing unspecified results:

          [[          ]]          function          select

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to