Source-Changes-D archive

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

Re: CVS commit: src/distrib/sets



> @@ -32,15 +32,16 @@
>  while getopts L:bxXloa:m:s: ch; do
>       case ${ch} in
>       L)
> -             lists=$(
> -                     for _list in $( echo ${OPTARG} | tr , ' ' ); do
> -                             case $_list in
> -                             base)   echo "${nlists}" ;;
> -                             x)      echo "${xlists}" ;;
> -                             ext)    echo "${extlists}" ;;
> -                             esac
> -                     done
> -             )
> +             save_IFS="${IFS}"
> +             IFS=,
> +             for _list in ${OPTARG}; do
> +                     case $_list in
> +                     base)   lists="${lists} ${nlists}" ;;
> +                     x)      lists="${lists} ${xlists}" ;;
> +                     ext)    lists="${lists} ${extlists}" ;;
> +                     esac
> +             done
> +             IFS="${save_IFS}"
>               ;;
>       # backward compat
>       b)

Thanks, this looks better.

Could you elaborate how the old version failed on Mac OS X?

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Home | Main Index | Thread Index | Old Index