diff options
-rwxr-xr-x | oedquery.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oedquery.sh b/oedquery.sh index f21faa1..8a7efd2 100755 --- a/oedquery.sh +++ b/oedquery.sh @@ -96,7 +96,7 @@ _etym() { then echo "No etymology found." else - echo $output + echo ${output^}. fi exit 0 } @@ -154,7 +154,7 @@ _wod() { _curl $lexicoUrl word=$(echo $result | hxnormalize -x | hxselect -i "a.linkword" | grep -o '>.*<' | sed 's/[><]//g') # Add the word of the day to the output. - output="$output $word - " + output="$output ${word^} - " _define } |