zerotrunc(8): add manpage
This commit is contained in:
parent
48555e785a
commit
82c892a697
1 changed files with 20 additions and 0 deletions
20
sys/man/8/zerotrunc
Normal file
20
sys/man/8/zerotrunc
Normal file
|
@ -0,0 +1,20 @@
|
|||
.TH ZEROTRUNC 8
|
||||
.SH NAME
|
||||
zerotrunc \- truncate input on zero byte
|
||||
.SH SYNOPSIS
|
||||
.B aux/zerotrunc
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
.B Zerotrunc
|
||||
copies input to output until reading a first zero byte or end-of-file.
|
||||
.SH EXAMPLES
|
||||
.B Zerotrunc
|
||||
can be used to read metadata of Plan 9 image files, e. g.:
|
||||
.IP
|
||||
.EX
|
||||
% aux/zerotrunc < /dev/window
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /sys/src/cmd/aux/zerotrunc.c
|
||||
.SH "SEE ALSO"
|
||||
.IR cat (1)
|
Loading…
Reference in a new issue