This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [libgfortran,committed] Fix syntax that IRIX sed doesn't like
* FX Coudert wrote on Fri, Nov 09, 2007 at 12:58:56AM CET:
>>> - | 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?
Or simply delete the space before the ';'.
Cheers,
Ralf