From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97656692bebbbd2cb90db65b7954ad1a@9netics.com> To: 9fans@9fans.net Date: Wed, 23 Nov 2016 23:23:32 -0800 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: <6D3B924C-6701-4345-8768-98D7927DD9DD@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] How to take a portion of a screenshot Topicbox-Message-UUID: aefa1834-ead9-11e9-9d60-3106f5b1d025 > * I can=E2=80=99t seem to find a way to have an incrementing loop count= er in rc shell (best I could do is check the size of a growing list varia= ble) most of the time seq(1), hoc(1) and similar tools can help do the job: fn square { echo $1 '*' $1 | hoc } for (i in `{seq 1 10}) { j =3D `{square $i} echo $i^=C2=B2 '=3D' $j } > * I couldn=E2=80=99t think of a good way to name the image files so tha= t they can be sorted into the correct sequence as input to togif awk printf perhaps? for (i in (0 10 100)) { echo $i } | awk '{printf "image_%0.3d\n", $0}'