bug-bash
[Top][All Lists]
Advanced

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

Re: feature request: allow shif [n] with n > $#


From: Toralf Förster
Subject: Re: feature request: allow shif [n] with n > $#
Date: Sat, 13 Apr 2019 09:43:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/13/19 9:42 AM, Toralf Förster wrote:
> Yep - thx!
Except, that I used the opposite:

        min_days=${1:-5}
        min_hours=${2:-12}
        min_compl=${3:-3500}
        shift "$(( $# < 3 ? $# : 3 ))"
        setupargs="$@"

--
Toralf
PGP C4EACDDE 0076E94E




reply via email to

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