home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 11 / AUCD11B.iso / LANGUAGES / WraithSet / AwkStuff / Awkify / Tools / awkapply next >
Text File  |  1999-03-21  |  367b  |  11 lines

  1. | Run awk program on current text
  2. if "<Awk$Prog>" = "" then echo No awk program set
  3. if "<Awk$Prog>" = "" then obey
  4. if "<TMP$LEAF>" = "" then echo Save the file first
  5. if "<TMP$LEAF>" = "" then obey
  6. if "<TMP$PATH>" = "" then echo Save the file first
  7. if "<TMP$PATH>" = "" then obey
  8. do gawk -f <Awk$Prog> <TMP$PATH>.<TMP$LEAF>  > <TMP$PATH>.out
  9. filer_run <TMP$PATH>.out
  10.  
  11.