bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell bugs [libtool-1.5.22 build (make check): 7 of 102 tests failed


From: anirkko
Subject: Re: shell bugs [libtool-1.5.22 build (make check): 7 of 102 tests failed]
Date: Sat, 12 May 2007 18:45:05 +0200 (MET DST)

    > the shell bug, or at least be able to characterize it well enough
    > to be able to avoid it.

>From time to time, I run into shell bugs (sh or csh, mostly) when
piping through several programs, such as
    VAR_DST=`echo $VAR_SRC | sed -e 's|xxx|yyy|' | tr -d ' '`
or similar. It usually helps to divide it into several steps, making
either intermediate files or intermediate variables, such as
    VAR_TMP=`echo $VAR_SRC | sed -e 's|xxx|yyy|'`
    VAR_DST=`echo $VAR_TMP | tr -d ' '`
It couldn't be anything along these lines?

Greets,
Arto





reply via email to

[Prev in Thread] Current Thread [Next in Thread]