home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Xconq 7.0d37 / source / misc / xform-var < prev   
Encoding:
Text File  |  1994-02-02  |  178 b   |  7 lines  |  [TEXT/R*ch]

  1. #!/bin/sh
  2.  
  3. # Edit a "word-to-variable" skeleton to make a sed script that will
  4. # translate when applied to a file.
  5.  
  6. sed -e "s/WORD/$1/g" < word2var.in | sed -e "s/VARIABLE/$2/g"
  7.