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