Search Results

Search: Posts Made By: TonyBe
1,584
Posted By Corona688
After much experimenting with the -f feature I...
After much experimenting with the -f feature I finally figured out how to trick it. It needs %.0f to make it print integers, followed by whatever string you want.

seq -f '%.0f -' 1 20 I suspect...
1,584
Posted By Corona688
the seq command doesn't do anything but generate...
the seq command doesn't do anything but generate sequences. How about this?

printf "%d -\n" `seq 1 20`

which amounts to printf "%d -\n" 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy