true.1x (1069B)
- .\" This file is part of Cross Unix Documentation
- .\" Copyright © 2019-2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
- .\" SPDX-License-Identifier: CC-BY-4.0
- .Dd 2019-03-05
- .Dt TRUE 1x
- .Os
- .Sh PROLOG
- This manual page is part of
- .Lk https://hacktivis.me/git/cross-unix-documentation "Cross-Unix Documentation"
- 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.
- .Sh NAME
- .Nm true
- .Nd should always returns true
- .Sh SYNOPSIS
- .Nm
- .Op ignored arguments
- .Nm
- .Op Fl -help
- .Op Fl -version
- .Sh DESCRIPTION
- .St -p1003.1-2008
- defines
- .Nm
- as a command that does not uses standard outputs or input, yet the GNU coreutils implementation of
- .Nm
- doesn't ignore
- .Fl -help
- and
- .Fl -version
- which could lead to bugs or unexpected behaviour.
- Such as:
- .Bd -literal
- $ /bin/true --help > /dev/full
- /bin/true: write error: No space left on device
- $ echo $?
- 1
- .Ed
- .Sh SOURCE
- GNU coreutils 8.30
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact+c-u-d@hacktivis.me