[CentOS] repeat command

m.roth at 5-cent.us m.roth at 5-cent.us
Fri May 3 18:38:27 UTC 2013


Les Mikesell wrote:
> On Fri, May 3, 2013 at 1:23 PM,  <m.roth at 5-cent.us> wrote:
>
>>>> 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.
>
> Sure it worked on the box where you tested it, but I think your
> version was at least bash-specific and something you'd need to know
> which version runs where if you use bourne shells anywhere.  I'm not
> good at tracking that stuff, so I like backwards and cross-platform
> compatibility.

Oh, sure. Running CentOS 6.4, and yes, I use bash.

     mark




More information about the CentOS mailing list