Category : Word Processors
Archive   : GREP15.ZIP
Filename : REGRESS.SH

 
Output of file : REGRESS.SH contained in archive : GREP15.ZIP
#! /bin/sh -

failures=0

# The Khadafy test is brought to you by Scott Anderson . . .
../egrep -f khadafy.regexp khadafy.lines > khadafy.out
if cmp khadafy.lines khadafy.out
then
rm khadafy.out
else
echo Khadafy test failed -- output left on khadafy.out
failures=1
fi

# . . . and the following by Henry Spencer.

awk -F: -f scriptgen.awk spencer.tests > tmp.script

if sh tmp.script
then
rm tmp.script
exit $failures
else
rm tmp.script
exit 1
fi


  3 Responses to “Category : Word Processors
Archive   : GREP15.ZIP
Filename : REGRESS.SH

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/