logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git

echo.1 (861B)


  1. .\" Collection of Unix tools, comparable to coreutils
  2. .\" Copyright 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
  4. .Dd 2021-04-05
  5. .Dt ECHO 1
  6. .Os
  7. .Sh NAME
  8. .Nm echo
  9. .Nd write arguments to standard output
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Ar string ...
  13. .Sh DESCRIPTION
  14. .Nm
  15. buffers all of it's arguments and writes them all at once to standard output, followed by a newline.
  16. If there is no arguments, only the newline is written.
  17. .Pp
  18. Should also be noted that this version of
  19. .Nm
  20. isn't XSI-compliant as arguments like
  21. .Fl Ar n
  22. are parsed as strings and backslash operators aren't supported.
  23. See
  24. .Xr printf 1
  25. for such an utility.
  26. .Sh EXIT STATUS
  27. .Ex -std
  28. .Sh STANDARDS
  29. Not XSI-compliant but should be compliant to
  30. .St -p1003.1-2008
  31. .Sh AUTHORS
  32. .An Haelwenn (lanodan) Monnier Aq Mt contact@hacktivis.me