commit 37c4304a019d5888cae2a58147986a58a7478f59
parent 17d91fe154b660ef667fde5eaf52118b40064bb0
Author: blmayer <git@mail.blmayer.dev>
Date: Wed, 30 Aug 2023 02:22:20 -0300
Fixed links with tabs
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/astro b/astro
@@ -196,7 +196,7 @@ typesetgmi() {
"# "*) sty="$sty_header1" && line="${line#'# '}" ;;
"> "*) sty="$sty_quote" && line="${line#> }" ;;
"=>"*)
- link=${line#'=>'}
+ link="$(echo ${line#'=>'} | tr -s '\t' ' ')"
echo "${link#' '}" >> "$linksfile"
linkcount=$((linkcount+1))