Repair broken JCL construction for a few switches

jira-search.sh
--------------
  o Declare more array vars for gathering input.
  o Replace declare with local within functions.
  o Refactored arg detection to set parsting state variables.
  o Replace inline AND/OR construction with list join on and/or.
    Too many edge cases can leave a AND/OR token prefix or suffix
    breaking the JCL query line.
  o do_labels logic updated to handle --label-is-empty and construct
    --excl and --incl arguments as standalone paren wrapped terms.

jira-search/getopt/detect-modifiers.sh
--------------------------------------
  o when -and, -or, -in, -excl, -incl, -is-empty switch modifiers are
    detected set global switch parsing state variables.

Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
Change-Id: Ib67bbf1a6389c8d9e9a3ac70911429118228c683
4 files changed
tree: 5f4baaa03f6bfd63aff26fcf0a3b55ade24a4370
  1. .gitmodules
  2. .gitreview
  3. bin/
  4. gerrit/
  5. jenkins/
  6. jira/
  7. lf/
  8. makefile