[OS X TeX] Pdftricks problem

Peter Dyballa Peter_Dyballa at Web.DE
Sat Feb 5 14:25:19 EST 2005


Am 05.02.2005 um 16:23 schrieb Martin Buchmann:

> i'm still puzzled that i can't find seq

You don't need seq! I remember this programme vaguely ... Giving it a 
numeric argument it creates the sequence of numbers from 1 up to the 
argument!

You could try in bash:

i=i
while [ $i -le number ]
   do
   this or that
   i=`expr $i + 1`
done

or a replacement as shell function:

seq () { i=1; while [ $i -le $1 ]; do echo "$i "; i=`expr $i + 1`; done 
; }

--
Greetings

   Pete

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list