logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/

seq.1 (1096B)


  1. .\" utils-std: Collection of commonly available Unix tools
  2. .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: MPL-2.0
  4. .Dd 2024-03-14
  5. .Dt SEQ 1
  6. .Os
  7. .Sh NAME
  8. .Nm seq
  9. .Nd print a sequence of numbers
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Fl w
  13. .Op Fl s Ar separator
  14. .Op Fl t Ar terminator
  15. .Op Ar first Op Ar step
  16. .Ar last
  17. .Sh DESCRIPTION
  18. Prints out a list of floating numbers between
  19. .Ar first
  20. (defaults to 1)
  21. and
  22. .Ar last
  23. in increments of
  24. .Ar step
  25. (defaults to 1).
  26. .Sh OPTIONS
  27. .Bl -tag -width Ds
  28. .It Fl w
  29. Use the longest width between either the
  30. .Ar first
  31. or the
  32. .Ar last
  33. number of the sequence.
  34. Should match the longest number in the sequence reasonably well.
  35. .It Fl s Ar separator
  36. Set the string used between each number (default: "\\n" aka newline)
  37. .It Fl t Ar terminator
  38. Set the final string used at the end of the sequence (default: "\\n" aka newline)
  39. .El
  40. .Sh EXIT STATUS
  41. .Ex -std
  42. .Sh HISTORY
  43. A
  44. .Nm
  45. utility first appeared in Plan9 and GNU sh-utils 1.12q (since merged in coreutils).
  46. .Sh AUTHORS
  47. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me