~kmaasrud/shatgpt

908aa04c609a5c1ffa9816aa170e2ed8a52352dc — Knut Magnus Aasrud 11 months ago 21e99fc
replace last echo with printf
1 files changed, 1 insertions(+), 1 deletions(-)

M wsh
M wsh => wsh +1 -1
@@ 37,7 37,7 @@ urlencode() {
        esac
        printf '%s' "$c" | od -An -tx1 | tr -d ' ' | xargs printf "%%%s"
    done <<EOF
$(echo "$1" | fold -w1)
$(printf '%s' "$1" | fold -w1)
EOF
}