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. To be used as an addition to the POSIX standard.
  11. .Sh NAME
  12. .Nm true
  13. .Nd should always returns true
  14. .Sh SYNOPSIS
  15. .Nm
  16. .Op ignored arguments
  17. .Nm
  18. .Op Fl -help
  19. .Op Fl -version
  20. .Sh DESCRIPTION
  21. .St -p1003.1-2008
  22. defines
  23. .Nm
  24. as a command that does not uses standard outputs or input, yet the GNU coreutils implementation of
  25. .Nm
  26. doesn't ignore
  27. .Fl -help
  28. and
  29. .Fl -version
  30. which could lead to bugs or unexpected behaviour. Such as:
  31. .Bd -literal
  32. $ /bin/true --help > /dev/full
  33. /bin/true: write error: No space left on device
  34. $ echo $?
  35. 1
  36. .Ed
  37. .Sh SOURCE
  38. GNU coreutils 8.30
  39. .Sh AUTHORS
  40. .An Haelwenn (lanodan) Monnier Aq Mt contact+c-u-d@hacktivis.me