|
NAMEzzcat - concatenate files using different instruction sequencesSYNOPSISzzcat [-AbdeEntTv] [-r loops] [-x sequence] [FILE]...zzcat -l | --list zzcat -h | --help zzcat -V | --version DESCRIPTIONThe zzcat utility reads files sequentially, writing them to the standard output. The user can decide which sequence of library calls is used to seek and read data.zzcat is primarily used as a debugging tool for zzuf, because it can emulate different programs' ways to read files. OPTIONS
EXAMPLESRead the first 1000 bytes of f, then exit:zzcat -x 'fread(1,1000)' f Read the first four bytes of f, using four different instructions: zzcat -x 'getc(),fgetc(),getc_unlocked(),_IO_getc()' f Read f entirely, by calling getc() repeatedly until end-of-file is reached: zzcat -x 'repeat(-1, getc(), feof(1))' f Read f entirely, in chunks of 32768 bytes until end-of-file is reached: zzcat -x 'repeat(-1, fread(1,32768), feof(1))' f SEE ALSOzzuf(3), libzzuf(3)AUTHORCopyright © 2002-2010 Sam Hocevar <sam@hocevar.net>.zzcat and this manual page are free software. They come without any warranty, to the extent permitted by applicable law. You can redistribute them and/or modify them under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details. zzuf's webpage can be found at http://caca.zoy.org/wiki/zzuf. An overview of the architecture and inner works is at http://caca.zoy.org/wiki/zzuf/internals.
Visit the GSP FreeBSD Man Page Interface. |