logo

utils-std

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

tee.1 (814B)


  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 March 29, 2026
  5. .Dt TEE 1
  6. .Os
  7. .Sh NAME
  8. .Nm tee
  9. .Nd duplicate standard input
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Fl a
  13. .Op Fl c
  14. .Op Fl i
  15. .Op Ar file...
  16. .Sh DESCRIPTION
  17. .Nm
  18. copies standard input to standard output and to each given
  19. .Ar file
  20. .
  21. .Sh OPTIONS
  22. .Bl -tag -width Ds
  23. .It Fl a
  24. Append to the files instead of overwriting
  25. .It Fl c
  26. Do not create
  27. .Ar file ,
  28. and so fail when it doesn't already exists.
  29. .It Fl i
  30. Ignore SIGINT
  31. .El
  32. .Sh EXIT STATUS
  33. .Ex -std
  34. .Sh STANDARDS
  35. .Nm
  36. should be compliant with the
  37. IEEE Std 1003.1-2024 (“POSIX.1”)
  38. specification.
  39. .Pp
  40. .Fl c
  41. is an extension.
  42. .Sh AUTHORS
  43. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me