spleen

Monospaced bitmap fonts for consoles, terminals, and code editors
Log | Files | Refs | README | LICENSE

commit ed5e72d2cbe10d211f8190836c2a90ea00c1891c
parent 4f4eb076900469221d655fa626aceacb6b91e37a
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 14 Dec 2022 17:35:53 +0100

Use printf instead of echo for *BSD and Linux cross-compatibility.

Diffstat:
MMakefile | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile @@ -82,32 +82,32 @@ screenshots: $(OPTIPNG) *.png specimen: - echo "\n Spleen " | \ + printf "\n Spleen " | \ $(PBMTEXT) -font spleen-32x64.bdf -nomargins | \ $(PPMCHANGE) white "#ff7f2a" | \ $(PPMCHANGE) black "#fff" > spleen.pnm - echo "\n Aa Ee Gg \n Qq Rr Ss" | \ + printf "\n Aa Ee Gg \n Qq Rr Ss" | \ $(PBMTEXT) -font spleen-32x64.bdf -nomargins | \ $(PPMCHANGE) white "#ff7f2a" > examples.pnm - echo "\n The future " | \ + printf "\n The future " | \ $(PBMTEXT) -font spleen-32x64.bdf -nomargins | \ $(PPMCHANGE) white "#ff7f2a" | \ $(PPMCHANGE) black "#fff" > future.pnm - echo " abcdefghijklm \n nopqrstuvwxyz" | \ + printf " abcdefghijklm \n nopqrstuvwxyz" | \ $(PBMTEXT) -font spleen-32x64.bdf -nomargins | \ $(PPMCHANGE) white "#ff2a7f" > letters.pnm - echo " 0123456789 " | \ + printf " 0123456789 " | \ $(PBMTEXT) -font spleen-32x64.bdf -nomargins | \ $(PPMCHANGE) white "#ff2a7f" | \ $(PPMCHANGE) black "#fff" > digits.pnm $(PNMCAT) -tb spleen.pnm examples.pnm future.pnm letters.pnm digits.pnm > specimen.pnm - echo "a" | \ + printf "a" | \ $(PBMTEXT) -font spleen-32x64.bdf -nomargins | \ $(PPMCHANGE) white "#ff7f2a" | \ $(PPMCHANGE) black "#fff" | \