not
This commit is contained in:
parent
abb6ed3a26
commit
b37e4abc4e
1 changed files with 7 additions and 0 deletions
7
bash/util.sh
Normal file
7
bash/util.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
not() {
|
||||||
|
case "${1}" in
|
||||||
|
"false") echo "true" ;;
|
||||||
|
"true") echo "false" ;;
|
||||||
|
*) ;;
|
||||||
|
esac
|
||||||
|
}
|
Loading…
Reference in a new issue