commit d85074ad62f80577377fb38aaab3be98ed3d5d48
parent 30d75cfd633f1a8e352e28c8c6f171ff1343ed99
Author: Jared Tobin <jared@jtobin.io>
Date: Fri, 29 Jan 2021 16:10:10 +0400
More herestrings.
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/conj b/conj
@@ -325,12 +325,12 @@ while $LOOP; do
prompt
- echo "english: $(echo "$cont" | cut -f 6 -d,)"
+ echo "english: $(cut -f 6 -d, <<< "$cont")"
echo
- echo "voice: $(echo "$cont" | cut -f 2 -d,)"
- echo "mood: $(echo "$cont" | cut -f 3 -d,)"
- echo "tense: $(echo "$cont" | cut -f 4 -d,)"
- echo "person: $(echo "$cont" | cut -f 5 -d,)"
+ echo "voice: $(cut -f 2 -d, <<< "$cont")"
+ echo "mood: $(cut -f 3 -d, <<< "$cont")"
+ echo "tense: $(cut -f 4 -d, <<< "$cont")"
+ echo "person: $(cut -f 5 -d, <<< "$cont")"
prompt