Merge pull request #2198 from xexyl/sykes12006-try
Minor less options update to 2006/sykes1/try.sh
This commit is contained in:
7 files changed
+10
-12
No files matched your search
+1
-1
@@ -204,7 +204,7 @@ clean:
|
|||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||||
${RM} -rf *.dSYM
|
${RM} -rf *.dSYM mkentry
|
||||||
@-if [ -e sandwich ]; then \
|
@-if [ -e sandwich ]; then \
|
||||||
${RM} -f sandwich; \
|
${RM} -f sandwich; \
|
||||||
echo 'ate sandwich'; \
|
echo 'ate sandwich'; \
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ clean:
|
|||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||||
${RM} -rf *.dSYM
|
${RM} -rf *.dSYM error herrmann1-1.c herrmann1-3.c
|
||||||
@-if [ -e sandwich ]; then \
|
@-if [ -e sandwich ]; then \
|
||||||
${RM} -f sandwich; \
|
${RM} -f sandwich; \
|
||||||
echo 'ate sandwich'; \
|
echo 'ate sandwich'; \
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ clean:
|
|||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||||
${RM} -rf *.dSYM
|
${RM} -rf *.dSYM westley2*
|
||||||
@-if [ -e sandwich ]; then \
|
@-if [ -e sandwich ]; then \
|
||||||
${RM} -f sandwich; \
|
${RM} -f sandwich; \
|
||||||
echo 'ate sandwich'; \
|
echo 'ate sandwich'; \
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ clean:
|
|||||||
clobber: clean
|
clobber: clean
|
||||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||||
${RM} -rf *.dSYM
|
${RM} -rf *.dSYM
|
||||||
${RM} -f ${PROG}2.c ${PROG}3.c
|
${RM} -f ${PROG}2.c ${PROG}3.c ${PROG}2.alt.c ${PROG}3.alt.c
|
||||||
@-if [ -e sandwich ]; then \
|
@-if [ -e sandwich ]; then \
|
||||||
${RM} -f sandwich; \
|
${RM} -f sandwich; \
|
||||||
echo 'ate sandwich'; \
|
echo 'ate sandwich'; \
|
||||||
|
|||||||
+1
-1
@@ -203,7 +203,7 @@ clean:
|
|||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||||
${RM} -rf *.dSYM
|
${RM} -rf *.dSYM encoder* message remarks.md sds2_msg.c sds_msg*
|
||||||
@-if [ -e sandwich ]; then \
|
@-if [ -e sandwich ]; then \
|
||||||
${RM} -f sandwich; \
|
${RM} -f sandwich; \
|
||||||
echo 'ate sandwich'; \
|
echo 'ate sandwich'; \
|
||||||
|
|||||||
@@ -134,7 +134,6 @@ all: data ${TARGET}
|
|||||||
sandwich supernova deep_magic magic charon pluto
|
sandwich supernova deep_magic magic charon pluto
|
||||||
|
|
||||||
${PROG}: ${PROG}.c
|
${PROG}: ${PROG}.c
|
||||||
@echo "This next step may take some time to run:"
|
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||||
|
|
||||||
# alternative executable
|
# alternative executable
|
||||||
@@ -143,7 +142,6 @@ alt: data ${ALT_TARGET}
|
|||||||
@${TRUE}
|
@${TRUE}
|
||||||
|
|
||||||
${PROG}.alt: ${PROG}.alt.c
|
${PROG}.alt: ${PROG}.alt.c
|
||||||
@echo "This next step may take some time to run:"
|
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||||
|
|
||||||
# data files
|
# data files
|
||||||
|
|||||||
+5
-5
@@ -25,7 +25,7 @@ try()
|
|||||||
|
|
||||||
read -r -n 1 -p "Press any key to see $SYKES1.c (space = next page, q = quit): "
|
read -r -n 1 -p "Press any key to see $SYKES1.c (space = next page, q = quit): "
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
less -rEXF "$SYKES1.c"
|
less -rEXFK "$SYKES1.c"
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: diff -s $SYKES1.c $SYKES1.html: "
|
read -r -n 1 -p "Press any key to run: diff -s $SYKES1.c $SYKES1.html: "
|
||||||
@@ -35,17 +35,17 @@ try()
|
|||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: ./$SYKES1 (space = next page, q = quit): "
|
read -r -n 1 -p "Press any key to run: ./$SYKES1 (space = next page, q = quit): "
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
./"$SYKES1" | less -rEXF
|
./"$SYKES1" | less -rEXFK
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: ./$SYKES1 5 (space = next page, q = quit): "
|
read -r -n 1 -p "Press any key to run: ./$SYKES1 5 (space = next page, q = quit): "
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
./"$SYKES1" 5 | less -rEXF
|
./"$SYKES1" 5 | less -rEXFK
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: ./$SYKES1 -1 (space = next page, q = quit): "
|
read -r -n 1 -p "Press any key to run: ./$SYKES1 -1 (space = next page, q = quit): "
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
./"$SYKES1" -1 | less -rEXF
|
./"$SYKES1" -1 | less -rEXFK
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
echo "What happened and why did it happen?" 1>&2
|
echo "What happened and why did it happen?" 1>&2
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
@@ -72,5 +72,5 @@ echo 1>&2
|
|||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: diff sykes1.out sykes1.alt.out (space = next page, q = quit): "
|
read -r -n 1 -p "Press any key to run: diff sykes1.out sykes1.alt.out (space = next page, q = quit): "
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
diff sykes1.out sykes1.alt.out | less -rEXF
|
diff sykes1.out sykes1.alt.out | less -rEXFK
|
||||||
rm -f sykes1.out sykes1.alt.out
|
rm -f sykes1.out sykes1.alt.out
|
||||||
Reference in new issue
Block a user