Re: repeat command

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



Les Mikesell wrote:
> On Thu, May 2, 2013 at 6:45 PM, John R. Dennison <jrd@xxxxxxxxxxxx> wrote:
>> On Fri, May 03, 2013 at 01:36:36AM +0200, Markus Falb wrote:
>>>
>>> this works but at least with bash you can do it with brace expansion
>>> for x in {1..10}; do … ; done
>>>
>>> it's a bashism but maybe more portable, e.g. OS-X has no seq
>>> no fork (for the seq) is necessary as well
>>
>> True.  Thing I like about seq is that it also takes an optional
>> increment value which can be very handy at times.
>
> Is it _really_ that hard to type the explicit loop with test ([) and
> expr?   These were builtins even in bourne shell eons ago.

It is not hard. I *tested* what I posted yesterday, and copied and pasted
it into my email.

      mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux