devel/pipestatus - The NetBSD Packages Collection

UNIX/POSIX shell helper for running pipes safely

pipestatus - source file for POSIX shell that allows
to obtain an exit status of every program in a pipe.

                        MOTIVATION

When we program in shell we often run pipes like this

    prog1 args1 | prog2 args2 | ... | progN argsN

POSIX says that exit status of pipe is the exit status of LAST program
in it, i.e.  progN in our example. That is, exit status of all other
programs in pipe is silently ignored.  But in many situations exit
status of all programs in pipe should be checked to make program
robust. Some shells like BASH and ZSH have special extensions for
doing this but POSIX shell unfortunately doesn't provide an EASY way
for doing this.

In order to solve the problem, described above pipestatus was written.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64pipestatus-0.6.0.tgz
NetBSD 10.0aarch64pipestatus-0.6.0.tgz
NetBSD 10.0aarch64ebpipestatus-0.6.0.tgz
NetBSD 10.0aarch64ebpipestatus-0.6.0.tgz
NetBSD 10.0alphapipestatus-0.6.0.tgz
NetBSD 10.0alphapipestatus-0.6.0.tgz
NetBSD 10.0earmv4pipestatus-0.6.0.tgz
NetBSD 10.0earmv4pipestatus-0.6.0.tgz
NetBSD 10.0earmv6hfpipestatus-0.6.0.tgz
NetBSD 10.0earmv6hfpipestatus-0.6.0.tgz
NetBSD 10.0earmv6hfpipestatus-0.6.0.tgz
NetBSD 10.0earmv7hfpipestatus-0.6.0.tgz
NetBSD 10.0earmv7hfpipestatus-0.6.0.tgz
NetBSD 10.0earmv7hfpipestatus-0.6.0.tgz
NetBSD 10.0i386pipestatus-0.6.0.tgz
NetBSD 10.0i386pipestatus-0.6.0.tgz
NetBSD 10.0m68kpipestatus-0.6.0.tgz
NetBSD 10.0m68kpipestatus-0.6.0.tgz
NetBSD 10.0mips64ebpipestatus-0.6.0.tgz
NetBSD 10.0mips64ebpipestatus-0.6.0.tgz
NetBSD 10.0powerpcpipestatus-0.6.0.tgz
NetBSD 10.0powerpcpipestatus-0.6.0.tgz
NetBSD 10.0powerpcpipestatus-0.6.0.tgz
NetBSD 10.0sh3elpipestatus-0.6.0.tgz
NetBSD 10.0sh3elpipestatus-0.6.0.tgz
NetBSD 10.0sparc64pipestatus-0.6.0.tgz
NetBSD 10.0sparc64pipestatus-0.6.0.tgz
NetBSD 10.0sparcpipestatus-0.6.0.tgz
NetBSD 10.0sparcpipestatus-0.6.0.tgz
NetBSD 10.0vaxpipestatus-0.6.0.tgz
NetBSD 10.0vaxpipestatus-0.6.0.tgz
NetBSD 10.0vaxpipestatus-0.6.0.tgz
NetBSD 10.0x86_64pipestatus-0.6.0.tgz
NetBSD 10.0x86_64pipestatus-0.6.0.tgz
NetBSD 9.0aarch64pipestatus-0.6.0.tgz
NetBSD 9.0aarch64pipestatus-0.6.0.tgz
NetBSD 9.0alphapipestatus-0.6.0.tgz
NetBSD 9.0alphapipestatus-0.6.0.tgz
NetBSD 9.0earmv4pipestatus-0.6.0.tgz
NetBSD 9.0earmv4pipestatus-0.6.0.tgz
NetBSD 9.0earmv4pipestatus-0.6.0.tgz
NetBSD 9.0earmv6hfpipestatus-0.6.0.tgz
NetBSD 9.0earmv6hfpipestatus-0.6.0.tgz
NetBSD 9.0earmv6hfpipestatus-0.6.0.tgz
NetBSD 9.0earmv7hfpipestatus-0.6.0.tgz
NetBSD 9.0earmv7hfpipestatus-0.6.0.tgz
NetBSD 9.0earmv7hfpipestatus-0.6.0.tgz
NetBSD 9.0i386pipestatus-0.6.0.tgz
NetBSD 9.0i386pipestatus-0.6.0.tgz
NetBSD 9.0m68kpipestatus-0.6.0.tgz
NetBSD 9.0m68kpipestatus-0.6.0.tgz
NetBSD 9.0m68kpipestatus-0.6.0.tgz
NetBSD 9.0powerpcpipestatus-0.6.0.tgz
NetBSD 9.0powerpcpipestatus-0.6.0.tgz
NetBSD 9.0powerpcpipestatus-0.6.0.tgz
NetBSD 9.0sparc64pipestatus-0.6.0.tgz
NetBSD 9.0sparc64pipestatus-0.6.0.tgz
NetBSD 9.0x86_64pipestatus-0.6.0.tgz
NetBSD 9.0x86_64pipestatus-0.6.0.tgz
NetBSD 9.3x86_64pipestatus-0.6.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.