I just noticed this in ksh93:

 ksh93 -c 'yes "" | head -5|cat -n'


     1
     2

     3

     4



(I used this for older shells when I want to a list of all integers from 1
to a particular number)

Casper


Reply via email to