From 8a9aa8fb6b1034ac3df877b3386dda4a800b868f Mon Sep 17 00:00:00 2001 From: nathaneltitane Date: Fri, 15 Sep 2023 11:44:11 -0400 Subject: [PATCH] Code & Features Update --- frobulator | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/frobulator b/frobulator index d88de69..343e330 100755 --- a/frobulator +++ b/frobulator @@ -1710,23 +1710,26 @@ frobulator.progress () { if [ "${notification: -1}" = "e" ] then + # remove end 'e' + notification="${notification/%e/}" elif [ "${notification: -1}" = "b" ] then + # double end 'b' + notification="${notification/%b/bb}" fi # append verb end - if [ $# -le 1 ] - then - notification="${notification/%/ing$marker_elp}" - fi + notification="${notification/%/ing}" - if [ $# -ge 2 ] + # append ellipsis + + if [ $# -le 1 ] then - notification="${notification/%/ing}" + notification="${notification/%/$marker_elp}" fi notification[0]="${notification}"