On my system it's called gnused, but that's beside the point, why not have configure check for this and maybe ask for a gnu compatible sed?
Daniel Am Jun 25, 2006 um 2:04 PM schrieb Marius Schamschula: Daniel,
Don't replace /usr/bin/sed:
Apple can overwrite this at any point with a system update.
If your PATH is properly set, the DP version of GNU sed (the binary is called sed), should be used instead of BSD sed.
To see which sed is invoked use
which sed On Jun 25, 2006, at 6:51 AM, Daniel Oberhoff wrote: Hi,
So do you suggest replacing /usr/bin/sed by gnu sed? Would rather not mess with the base installation, and why not place a test in configure and require a gnu sed (such as /opt/local/bin/gnused from dp) set as SED in the environment? This is rather nasty coz it installs silently without errors this way and takes quite some research to figure out...
Daniel
Am Jun 25, 2006 um 12:58 PM schrieb Marius Schamschula: Daniel,
I have built octave many times under Mac OS X/Darwin (with out DF or Fink). The one or two time that I tried on a machine without GNU sed, it failed. I consider gsed a perquisite under DP.
On Jun 25, 2006, at 4:44 AM, Daniel Oberhoff wrote: Yes,
I suppose thats the most portable way then, but at least there should be a configure test for this then, or a test for gnused as installed by darwinports.
Daniel
Am Jun 25, 2006 um 4:33 AM schrieb Marius Schamschula:
Daniel,
Are you using Apple's sed?
Try GNU sed.
Marius -- Marius Schamschula Webmaster
The Huntsville Macintosh Users Group
webmaster at hmug dot org marius at schamschula dot com
|