kjv

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6df5b519f67be17137d11592e6ec48f1808fd71a
parent 63748cd726af4b252a7257ca924e22343fbda625
Author: Tim Cooper <tim.cooper@layeh.com>
Date:   Wed,  8 Aug 2018 07:20:15 -0300

remove non-portable awk argument -e

Diffstat:
Mkjv.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kjv.sh b/kjv.sh @@ -28,7 +28,7 @@ while [ $# -gt 0 ]; do break elif [ "$1" = "-l" ]; then # List all book names with their abbreviations - get_data kjv.tsv | awk -v cmd=list -e "$(get_data kjv.awk)" + get_data kjv.tsv | awk -v cmd=list "$(get_data kjv.awk)" exit elif [ "$1" = "-h" ] || [ "$isFlag" -eq 1 ]; then exec >&2 @@ -69,5 +69,5 @@ startIdx=$# fi ref="$1" shift - get_data kjv.tsv | awk -v cmd=ref -v ref="$ref" -e "$(get_data kjv.awk)" + get_data kjv.tsv | awk -v cmd=ref -v ref="$ref" "$(get_data kjv.awk)" done ) | ${PAGER}