Changeset 50
- Timestamp:
- 07/27/07 06:58:16 (18 months ago)
- Location:
- trunk/awkbot/bin
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/awkbot/bin/awkbot
r47 r50 5 5 # Run the bootstrap, this doesn't do jack but allocate a file. 6 6 bootstrap=`tempfile` 7 cpp -I /usr/share/awk -I lib lib/awkbot-boot.awk 2> /dev/null > $bootstrap7 cpp -I /usr/share/awk -I src src/awkbot-boot.awk 2> /dev/null > $bootstrap 8 8 livedata=`awk -f $bootstrap /dev/null` 9 9 … … 12 12 13 13 awkbot=`tempfile` 14 cpp -I /usr/share/awk/ -I lib lib/awkbot.awk 2> /dev/null > $awkbot14 cpp -I /usr/share/awk/ -I src src/awkbot.awk 2> /dev/null > $awkbot 15 15 16 16 # Give our continuous input through a pipe to tail. tail -f never exits. -
trunk/awkbot/bin/teststrap
r48 r50 8 8 echo processing $file 9 9 # Strip comments, stolen from perl! 10 sed -f cpp-filter.sed $file | cpp -I lib-I /usr/share/awk > $tmpfile10 sed -f cpp-filter.sed $file | cpp -I src -I /usr/share/awk > $tmpfile 11 11 echo running $file 12 12 awk -f $tmpfile