On 27 April 2012 22:55, Eric Blake <[email protected]> wrote:
> Shorter (and probably faster) to write this as:
>
> add_to_libs() {
>  case " $LIBS " in
>    " $1 ") ;;
>    *) LIBS="$1 $LIBS" ;;
>  esac
> }

...doesn't that need to be
     *" $1 "*) ;;

?

-- PMM

Reply via email to