tech-userlevel archive

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

Re: rc.d/network



In article <20080918174235.GA4424%britannica.bec.de@localhost>,
Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> wrote:
>On Thu, Sep 18, 2008 at 07:23:06PM +0200, Alan Barrett wrote:
>> +                            if [ -n "$argslist" ]; then
>> +                                    splitsemi "$argslist"
>> +                            else
>> +                                    cat /etc/ifconfig.$int
>> +                            fi | \
>

splitsemi() {
        OIFS="$IFS"
        IFS=";"
        set - $@
        IFS="$OIFS"
        for i
        do
            echo "$i"
        done
}

christos



Home | Main Index | Thread Index | Old Index