Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
teepipe(1)		     General Commands Manual		      teepipe(1)

NAME
     teepipe - copy stdin to a program and stdout

SYNOPSIS
     teepipe program [ args ...  ]

DESCRIPTION
     teepipe  starts  a  pipeline  to the program named on the command line, and
     copies standard input to both the pipe and to  standard  output.	Standard
     output  of the executed program is redirected to standard error.  If an er-
     ror occurs while writing to either the pipeline  or  standard  output,  the
     other is closed and teepipe exits.

RETURN VALUE
     Exits 0 if all data from standard input was successfully copied to both the
     pipe and standard output.

								      teepipe(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=teepipe&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help