home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / exam / g1emmnos / rewrite < prev    next >
Text File  |  1990-04-29  |  604b  |  22 lines

  1. # Read the rewrite file for lines where the first word is a regular
  2. # expression and the second word are rewriting rules. The special
  3. # character '$' followed by a digit denotes the string that matched
  4. # a '*' character. The '*' characters are numbered from 1 to 9.
  5. # Example: the line "*@*.* $2@$1.ampr.org" would rewrite the address
  6. # "foo@bar.xxx" to "bar@foo.ampr.org".
  7. #
  8. *@g1emm.ampr.org $1
  9. *@g1emm.ampr $1
  10. *@g1emm $1
  11. #
  12. *!*!*!*!*!*!* $7%$6@$5@$4@$3@$2@$1
  13. *!*!*!*!*!* $6%$5@$4@$3@$2@$1
  14. *!*!*!*!* $5%$4@$3@$2@$1
  15. *!*!*!* $4%$3@$2@$1
  16. *!*!* $3%$2@$1
  17. *!* $2@$1
  18. !* $1 r
  19. #
  20. # The End
  21. #
  22.