[Top][All Lists]

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

Re: Code addition to BASH

From: Chet Ramey
Subject: Re: Code addition to BASH
Date: Tue, 21 Jan 2020 16:14:52 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 1/21/20 4:13 PM, William Theisen wrote:
> I've just tested this, it's a little awkward but does actually work. Thanks
> for the suggestion I'll play around with making it a little more
> convenientĀ to use. Thanks for your time.

If you don't want to destroy your script's positional parameters, you can
wrap your loop in a shell function, which has its own set.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

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