Created
April 4, 2021 09:33
-
-
Save ormaaj/9668b294073d1e0b3195716b8223ed89 to your computer and use it in GitHub Desktop.
silly [
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| shopt -s expand_aliases extglob | |
| alias \[='x=${BASH_COMMAND#"${BASH_ALIASES[\[]} "} command eval eval \"[[ \$x]\" \#' | |
| set -x | |
| [ ormaaj == or+([ma])j ] | |
| echo "$?" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment