Fix issues with grep and spectrum

This commit is contained in:
Toan Nguyen
2017-03-20 20:18:10 +07:00
parent ea1c9371e1
commit a9f9eaf51f
4 changed files with 16 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# is x grep argument available?
grep-flag-available() {
grep_flag_available() {
echo | grep $1 "" >/dev/null 2>&1
}