diff options
author | tv <tv@shackspace.de> | 2015-10-02 15:11:09 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-10-02 15:11:09 +0200 |
commit | 64c97edd3f9952cd5e703208c46748a035a515bf (patch) | |
tree | fe9d7cb31548ca0011c731adc03f954cd0d98799 | |
parent | fbe8f8d12ede9762fceb15b9944b69a4ee6331eb (diff) |
use grep instead of bashismic substitution
-rwxr-xr-x | get | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ has_sopt() { filter() { set -- "$(cat)" - if test "${1:0:1}" = \"; then + if echo "$1" | grep -q ^\"; then echo "$1" | jq -e -r . else echo "$1" |