From 78ed5db561422d7f27a6ad53e70381cebf4ef322 Mon Sep 17 00:00:00 2001 From: Nulo Date: Mon, 11 Oct 2021 16:13:38 -0300 Subject: [PATCH] No usar echo -n (no es POSIX) --- build.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/build.sh b/build.sh index 7f4c046..0907946 100755 --- a/build.sh +++ b/build.sh @@ -1,19 +1,19 @@ #!/bin/sh template () { - echo -n "" - echo -n "" - echo -n "" - echo -n "" - echo -n "$1" + echo "" + echo "" + echo "" + echo "" + echo "$1" if test "$inicio" != true; then - echo -n "☚ Volver al inicio" + echo "☚ Volver al inicio" fi if test -n "$2"; then - echo -n "
" - echo -n "

$1

" - echo -n "

Último cambio:

" - echo -n "
" + echo "
" + echo "

$1

" + echo "

Último cambio:

" + echo "
" fi } @@ -25,7 +25,7 @@ cp *.sh *.md *.css *.png *.mp4 "$outdir" index="$outdir/index.html" inicio=true header=false template "nulo.in" > "$index" cmark --unsafe index.md >> "$index" -echo -n "

Lista de páginas

" >> "$index"