Problem
-------

Is there a way to pass e.g. the message number on the command line of a
command such as the "print_command"?

Background
----------

I would like my "print_command" to be:

set print_command = "fold -s -w$PRCOLS | pr -f -J -e4 -l$PRROWS
    -w$PRCOLS -h\"%b %i %d\" >$PRNAME"

where I have set up environment variables PRCOLS, PRROWS and PRNAME.

This works except that as you can see I would like to pass the
folder-name (%b), message number (%i) and date (%d) as the header for
"pr" to use, but, of course, I get "%b %i %d" as the header at the top
of each page.

***********************************************************************
This message has been checked for all known viruses by the
E-mail Virus Protection service, powered by MessageLabs.
***********************************************************************

Reply via email to