astro

a POSIX shell compatible gemini client (mirror of https://github.com/blmayer/astro)
git clone https://git.clttr.info/astro.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 1968e6a1e1b5717f80e71c31546f5eba544e7456
parent ce0b7c5bf393d800df9a95f7dd733ec0825886d3
Author: René Wagner <rwa@clttr.info>
Date:   Wed,  1 Feb 2023 16:22:18 +0100

stay compatible with POSIX sh

Diffstat:
Mastro | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/astro b/astro @@ -204,7 +204,7 @@ typesetgmi() { '* '*) sty="" && line=" $sty_listb•$sty_listt$(echo "$line" | cut -c 2-)";; *) sty="";; esac - echo ${line//%/%%} | fold -w "$width" -s | { + echo "$line" | sed 's/%/%%/g' | fold -w "$width" -s | { while IFS='' read -r txt do printf "%*s" "$margin" ""