From 75f830ee57c755b852a3481a437443e6fbdf11f0 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 7 Feb 2024 08:44:28 -0800 Subject: [PATCH] Fix 2005/persano make clobber, .gitignore, try.sh The make clobber fix is important for updating the manifest. The .gitignore left a .gif file out but now it just ignores '*.gif'. The script was updated with some newlines to separate commands. --- 2005/persano/.gitignore | 3 +-- 2005/persano/Makefile | 2 +- 2005/persano/try.sh | 3 +++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/2005/persano/.gitignore b/2005/persano/.gitignore index e47484bec..a8cd03994 100644 --- a/2005/persano/.gitignore +++ b/2005/persano/.gitignore @@ -1,11 +1,10 @@ # # sort with: ../../bin/sgi *.dSYM -foo.gif +*.gif indent indent.c indent.o persano persano.orig prog.orig -seal.gif diff --git a/2005/persano/Makefile b/2005/persano/Makefile index 8c7302eef..57b5d448b 100644 --- a/2005/persano/Makefile +++ b/2005/persano/Makefile @@ -207,7 +207,7 @@ clean: clobber: clean ${RM} -f ${TARGET} ${ALT_TARGET} - ${RM} -rf *.dSYM + ${RM} -rf *.dSYM *.gif @-if [ -e sandwich ]; then \ ${RM} -f sandwich; \ echo 'ate sandwich'; \ diff --git a/2005/persano/try.sh b/2005/persano/try.sh index f9a45f5ec..7d27d53a7 100755 --- a/2005/persano/try.sh +++ b/2005/persano/try.sh @@ -24,6 +24,7 @@ if [[ -f knot3-16.gif ]]; then echo "Now open the file knot3-16.gif in a GIF viewer capable of viewing animated" 1>&2 echo "GIFs. See the README.md for details on a tool to manipulate it, if you wish." 1>&2 fi +echo 1>&2 read -r -n 1 -p "Press any key to run: ./persano 3 2 1 > foo.gif: " echo 1>&2 @@ -33,6 +34,7 @@ if [[ -f foo.gif ]]; then echo "Now open the file foo.gif in a GIF viewer capable of viewing animated" 1>&2 echo "GIFs. See the README.md for details on a tool to manipulate it, if you wish." 1>&2 fi +echo 1>&2 read -r -n 1 -p "Press any key to run: ./persano 5 2 > seal.gif: " echo 1>&2 @@ -43,3 +45,4 @@ if [[ -f seal.gif ]]; then echo "Now open seal.gif (Solomon's Seal knot) in a GIF viewer capable of viewing" 1>&2 echo "animated GIFs. See the README.md for details on a tool to manipulate it, if you wish." 1>&2 fi +echo 1>&2