On Apr  5, 2001, Raja R Harinath <[EMAIL PROTECTED]> wrote:

> Robert Boehne <[EMAIL PROTECTED]> writes:
>> sed 's/^[^\.]*\.o://' | tr '

> Try changing that to

>   sed 's/^.*\.o://' | tr '

> This should be safe.  I don't see why the original tried to avoid
> '.'s.  The regexp is limited to the first ':' -- so the '.*' cannot
> swallow any more of the line.

Perhaps `[^:]*', just to be on the safe side?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to