TEXT   86
dualcase export dualcase
Guest on 9th March 2023 01:36:22 PM


  1. DUALCASE=1; export DUALCASE # for MKS sh
  2. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  3.   emulate sh
  4.   NULLCMD=:
  5.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  6.   # is contrary to our usage.  Disable this feature.
  7.   alias -g '${1+"$@"}'='"$@"'
  8.   setopt NO_GLOB_SUBST
  9. else
  10.   case `(set -o) 2>/dev/null` in #(
  11.   *posix*) :
  12.     set -o posix ;; #(
  13.   *) :
  14.      ;;
  15. esac
  16. fi

Raw Paste

Login or Register to edit or fork this paste. It's free.