|[ < ]||[ > ]||[ << ]||[ Up ]||[ >>
]||[Top]||[Contents]||[Index]||[ ? ]| In this mode genfile
creates a data file for the test suite. The size of the file is
given with the ‘--length’ (‘-l’) option. By default the file
contents is written to the standard output, this can be changed
using ‘--file’ (‘-f’) command line option. Thus, the following
two commands genfile --length 100 > outfile genfile --length 100
--file outfile If ‘--length’ is not given, generate an empty
(zero-length) file. The command line option ‘--seek=N’ istructs
to skip the given number of bytes (N) in the output file before
writing to it. It is similar to the ‘seek=N’ of the You can
instruct genfile to create several files at one go, by giving it
‘--files-from’ (‘-T’) option followed by a name of file
containing a list of file names. Using dash (‘-’) instead of the
file name causes genfile to read file list from the standard
input. For example: # Read file names from file ‘file.list’
genfile --files-from file.list # Read file names from st