[libgfortran,committed] Fix syntax that IRIX sed doesn't like
Ben Elliston
bje@au1.ibm.com
Fri Nov 9 01:25:00 GMT 2007
On Thu, 2007-11-08 at 19:17 +0000, François-Xavier Coudert wrote:
> I committed (rev. 130015) the patch below as obvious after noticing
> that the IRIX sed didn't like the previous one (introduced by my patch
> dated 2007-10-26). Bootstrap now progresses further on
> mips-sgi-irixi6.5, and still works on x86_64-linux.
> - | sed 's/ *TRANSFER *// ; s/_.*//'`
> + | sed 's/ *TRANSFER *//' | sed 's/_.*//'`
This is perhaps a bit of a micro-optimisation, but would it not be
faster to use sed -e 's/ *TRANSFER *//' -e 's/_.*//' instead of two seds
in a pipeline?
Ben
More information about the Fortran
mailing list