home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume11 / musbus / part04 / script.master < prev    next >
Encoding:
Text File  |  1987-09-16  |  835 b   |  33 lines

  1. %W% /bin/sh -ie
  2. mkdir /tmp/$$ tmp
  3. %% 1 edit
  4. ./keyb edscr1.dat | ed edit.dat
  5. : .......................................................
  6. : .    This is some filler of about the same            .
  7. : .    size as the file edscr1.dat, since the           .
  8. : .    emulated input proceeds in parallel, and         .
  9. : .    we want the real-time delay to be about right    .
  10. : .......................................................
  11. chmod u+w temporary
  12. rm temporary
  13. %% 2 ls
  14. ls -l
  15. %% 3 cat
  16. cat cat.dat
  17. %% 4 compile
  18. cc -c cctest.c 1>&2
  19. rm *.o
  20. %% 5 edit, compile and link
  21. chmod 444 dummy.c
  22. ./keyb edscr2.dat | ed dummy.c
  23. : .  more textual and time filler for the second edscript file, edscr2.dat .
  24. cc dummy.c 1>&2
  25. rm a.* grunt.c
  26. %% 6 grep
  27. grep '[     ]*nwork' grep.dat
  28. %% 7 file copying
  29. cp *.c edit.dat /tmp/$$
  30. cp /tmp/$$/* tmp
  31. %%
  32. rm -rf tmp /tmp/$$
  33.