Query: vselect
OS: debian
Section: 1vi
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
vselect(1Vi) vselect(1Vi)NAMEvselect - select objects from a Vista data fileSYNOPSISvselect [-option ...] [infile] [outfile]DESCRIPTIONvselect copies selected objects from an input file to an output file. Command line options specify which objects are to be copied. Objects may be selected by type (e.g., all images), by name, by the value of some attribute, or by position within the input file.COMMAND LINE OPTIONSvselect accepts the following options: -help Prints a message describing options. -in Specifies a Vista data file from which objects are to be selected. -out Specifies where to write the selected objects as a Vista data file. The input and output files can be specified on the command line or allowed to default to the standard input and output streams. In addition, exactly one of the following options must be used to specify the objects to be selected: -object i Select the ith object. Objects in the input file are numbered consecutively from 0. -name name Select any object whose attribute name is name. -type type Select any object whose type is type. -attr name value Select any object having an attribute with the specified name and value. Finally, any of these selection criteria can be inverted: -not Reverses the sense of the selection criterion.EXAMPLESTo select the first object from a file: vselect -object 0 < infile > outfile To select the attribute named ``cantaloupe'' from a file: vselect -name cantaloupe < infile > outfile To select everything but images from a file: vselect -type image -not < infile > outfile To select images with ubyte pixels from a file of images: vselect -attr nbands ubyte < infile > outfileAUTHORArt Pope <pope@cs.ubc.ca> Vista Version 1.12 24 April 1993 vselect(1Vi)