mpd at rochester.rr.com
Thu Apr 3 21:56:14 PST 2003
On Fri, Apr 04, 2003 at 02:14:09PM +1000, JacobRhoden wrote:
> On Fri, 4 Apr 2003 10:17 am, Louis LeBlanc wrote:
> > I've been running into a different problem than that one:
> > ===> Add wrapper scripts
> > sed: illegal option -- i
> > usage: sed script [-Ean] [file ...]
> > sed [-an] [-e script] ... [-f script_file] ... [file ...]
> > *** Error code 1
> jrhoden at elkanah# sed -h
> sed: illegal option -- h
> usage: sed script [-Ean] [-i extension] [file ...]
> sed [-an] [-i extension] [-e script] ... [-f script_file] ... [file...]
> It appears your version of sed is different than the one on my system (where
> openoffice makes/installs fine. My version of sed comes from:
> FreeBSD elkanah.its.unimelb.edu.au 4.8-RC
> FreeBSD 4.8-RC #1: Wed Mar 12 15:00:01 EST 2003
> I am guessing that your FreeBSD is older than that yes?
> - jacob
In the past, the system sed didn't support the -i (edit file
in place) switch, but there is a port called sed_inplace
(textproc/sed_inplace) which handles it. If upgrading your base
system (which I do recommend in your case) isn't an option,
this might work for you.
> Jacob Rhoden Phone: +61 3 8344 6102
"POKEY I WANT TO GROW ARCTIC CIRCLE CANDY!!! MAY
I PLANT A GARDEN???"
- Little Girl from "3005 PLANTS"
More information about the freebsd-questions