logo

cross-unix-documentation

documentation of similarities and (noteworthy) differencies between Unix systems git clone https://hacktivis.me/git/cross-unix-documentation.git

true.1x (1069B)


  1. .\" This file is part of Cross Unix Documentation
  2. .\" Copyright © 2019-2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  3. .\" SPDX-License-Identifier: CC-BY-4.0
  4. .Dd 2019-03-05
  5. .Dt TRUE 1x
  6. .Os
  7. .Sh PROLOG
  8. This manual page is part of
  9. .Lk https://hacktivis.me/git/cross-unix-documentation "Cross-Unix Documentation"
  10. which is an attempt to provide documentation of similarities and (noteworthy) differencies between Unix-like systems.
  11. To be used as an addition to the POSIX standard.
  12. .Sh NAME
  13. .Nm true
  14. .Nd should always returns true
  15. .Sh SYNOPSIS
  16. .Nm
  17. .Op ignored arguments
  18. .Nm
  19. .Op Fl -help
  20. .Op Fl -version
  21. .Sh DESCRIPTION
  22. .St -p1003.1-2008
  23. defines
  24. .Nm
  25. as a command that does not uses standard outputs or input, yet the GNU coreutils implementation of
  26. .Nm
  27. doesn't ignore
  28. .Fl -help
  29. and
  30. .Fl -version
  31. which could lead to bugs or unexpected behaviour.
  32. Such as:
  33. .Bd -literal
  34. $ /bin/true --help > /dev/full
  35. /bin/true: write error: No space left on device
  36. $ echo $?
  37. 1
  38. .Ed
  39. .Sh SOURCE
  40. GNU coreutils 8.30
  41. .Sh AUTHORS
  42. .An Haelwenn (lanodan) Monnier Aq Mt contact+c-u-d@hacktivis.me