NAME
zerotrunc – truncate input on zero byte |
SYNOPSIS
aux/zerotrunc |
DESCRIPTION
Zerotrunc copies input to output until reading a first zero byte
or end–of–file. |
EXAMPLES
Zerotrunc can be used to read metadata of Plan 9 image files,
e. g.:
|
SOURCE
/sys/src/cmd/aux/zerotrunc.c |
SEE ALSO
cat(1) |