>>>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes:

Bruce> Johan Danielsson wrote:
>> Autoheader does `sed "s/[^/]*$//"', which doesn't work with Cray
>> sed, and Cray claims this is in compliance with POSIX. Is this
>> correct?

Bruce> It is irrelevant.  If true and Cray changes, there will still
Bruce> be versions floating around wherein it is broken.  More cruft
Bruce> for the UNIX folklore: never, ever use substitution separator
Bruce> chars inside of the substitution expressions, period.  (If you
Bruce> want portability.)

Do you mean `s,[^/]*$,,' would work here?  Man, how can someone write
something that broken :(.  Johan, could you confirm replacing the
separator with `,' solves the issue?

Reply via email to