|
|
1.1 ! root 1: .TH SEQ 1 ! 2: .CT 1 numbers ! 3: .SH NAME ! 4: seq \- print sequences of numbers ! 5: .SH SYNOPSIS ! 6: .B seq ! 7: [ ! 8: .B -w ! 9: ] ! 10: [ ! 11: .BI -f format ! 12: ] ! 13: [ ! 14: .I first ! 15: [ ! 16: .I incr ! 17: ] ! 18: ] ! 19: .I last ! 20: .SH DESCRIPTION ! 21: .I Seq ! 22: prints a sequence of numbers, one per line, from ! 23: .I first ! 24: (default 1) to as near ! 25: .I last ! 26: as possible, in increments of ! 27: .I incr ! 28: (default 1). ! 29: The numbers are interpreted as floating point. ! 30: .PP ! 31: Normally integer values are printed as decimal integers. ! 32: The options are ! 33: .TP ! 34: .BI -f format ! 35: Use the ! 36: .IR printf (3)-style ! 37: .I format ! 38: for printing each (floating point) number. ! 39: The default is ! 40: .LR %g . ! 41: .TP ! 42: .B -w ! 43: Equalize the widths of all numbers by padding with ! 44: leading zeros as necessary. ! 45: Not effective with option ! 46: .BR -f , ! 47: nor with numbers in exponential notation. ! 48: .SH EXAMPLES ! 49: .TP ! 50: .L ! 51: seq 0 .05 .1 ! 52: Print ! 53: .BR "0 0.05 0.1" ! 54: (on separate lines). ! 55: .TP ! 56: .L ! 57: seq -w 0 .05 .1 ! 58: Print ! 59: .BR "0.00 0.05 0.10" . ! 60: .SH BUGS ! 61: Option ! 62: .B -w ! 63: always surveys every value in advance, although that's not necessary ! 64: for integers. ! 65: Thus ! 66: .L ! 67: seq -w 1000000000 ! 68: is a hopeless way to get an `infinite' sequence.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.