with seq starting with 0, to fit your example...

On Sat, Dec 11, 2010 at 5:34 PM, Samuel Martín Moro <faus...@gmail.com>wrote:

> something like that?
> for i in `seq 1 20 | awk 'BEGIN{n=0; max=4; avg=max/2}{if (n<=avg) {print
> $0;} n++; if (n>=max) {n=0;} }'`
> do
>     echo welcome $i times
> done
>
>
>
> On Sat, Dec 11, 2010 at 3:34 PM, S Mathias <smathias1...@yahoo.com> wrote:
>
>> , that i can use this, when i want
>
>
>
>
> --
> Samuel Martín Moro
> {EPITECH.} tek5
> CamTrace S.A.S
>   (+033) 1 41 38 37 60
>   1 Allée de la Venelle
>   92150 Suresnes
>   FRANCE
>
> "Nobody wants to say how this works.
>   Maybe nobody knows ..."
>                       Xorg.conf(5)
>



-- 
Samuel Martín Moro
{EPITECH.} tek5
CamTrace S.A.S
  (+033) 1 41 38 37 60
  1 Allée de la Venelle
  92150 Suresnes
  FRANCE

"Nobody wants to say how this works.
  Maybe nobody knows ..."
                      Xorg.conf(5)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to