initial commit
This commit is contained in:
11
utils.sh
Normal file
11
utils.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
isarray() {
|
||||
var=$1
|
||||
declare -p $1 2> /dev/null | grep -q '^declare \-a' && return 0
|
||||
[[ ${var[0]} -eq ${var[0]} ]] && [[ ${var[1]} -eq ${var[1]} ]] && return 0 || return 1
|
||||
}
|
||||
|
||||
gratlas() {
|
||||
grep --line-buffered -i -v -e screenPath -e "no walker set" -e "nopstrategy" -e "StrategyFactory:117" -e "Worker:204" -e "Worker:150"
|
||||
}
|
||||
Reference in New Issue
Block a user