Next | Trivial Utilities | 113 |
This is very nice in some ways
And the configuration could not be any simpler
First some special cases:
# If a file is printable, it will have this type.
# 'printable' means that it can be sent directly to the printer.
# Other file types will have to be converted to this type first.
printable pcl
# If we can't figure out what type a file has, we will assume it is
# this type:
default_suffix txt
# This says how to convert files of certain types where we don't know
# in advance what the result will be. For example, if we find a
# gzip-compressed file, we know we should uncompress it, but then we
# need to look at the result to decide what to do next.
gz->??? gzip -dc %I > %O
Z->??? gzip -dc %I > %O
%I is the name of the input file, %O the output
Next | Menu | Copyright © 2012 M. J. Dominus |