ZEROTRUNC(8) ZEROTRUNC(8) 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.: % aux/zerotrunc < /dev/window SOURCE /sys/src/cmd/aux/zerotrunc.c SEE ALSO cat(1) Page 1 Plan 9 (printed 1/15/25)