home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 3248 < prev    next >
Encoding:
Text File  |  1992-07-30  |  939 b   |  28 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!uunet.ca!cognos!dealwisb
  3. From: dealwisb@cognos.com (Brian de Alwis)
  4. Subject: Re: Port of ed/edit
  5. Message-ID: <1992Jul31.001058.16926@cognos.com>
  6. Keywords: editors
  7. Organization: Cognos Incorporated, Ottawa CANADA
  8. References: <2413@nic.cerf.net>
  9. Date: Fri, 31 Jul 1992 00:10:58 GMT
  10. Lines: 16
  11.  
  12. In article <2413@nic.cerf.net> greggb@nic.cerf.net (Gregg Brekke) writes:
  13. >Has anyone ported ed (preferred) or edit for 386bsd.  I use it in a lot
  14. >of scripts and don't feel like doing all the substitutions by hand.
  15.  
  16. Try this:
  17.  
  18. -----8<-----CUT-HERE-----8<-----
  19. # ed - invoke ex, as it's backward-compatible-enough-to-pass-for-ed
  20. ex $*
  21. -----8<-----CUT-HERE-----8<-----
  22.  
  23. It's ugly, but it works.
  24. -- 
  25. +++BdA  Brian de Alwis. Brain on loan to Cognos Inc, Ottawa, Ontario.
  26.     dealwisb@cognos.com, or bsdealwi@napier.{waterloo.edu,uwaterloo.ca}
  27.     "Nine out of ten men who tried camels said they preferred women"
  28.