This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libgfortran,committed] Fix syntax that IRIX sed doesn't like


-               | 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?

Indeed. I won't change that now (this rule is only executed once per libgfortran build), but I'll know for next time.


Thanks,
FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]