Recently Written · git

tmpl

Insanely simple templates

git clone https://github.com/equwal/tmpl

Log | Files | Refs


sh/globber (134 bytes)

1 # Same as Bash [[ ... ]]
2 globber () { case "$2" in $1) return 0 ;; *) return 1 ;; esac ; }
3 # if fnmatch 'a??*' "$var" ; then ... ; fi