> Is the contents of LESS supposed to be just broken at whitespace, or
> actually interpreted by the shell?

POSIX.1-2001 appears to contradict itself.  The description of the man
command says:

  PAGER Determine an output filtering command for writing the output to
        a terminal. Any string acceptable as a command_string operand to the
        sh -c command shall be valid. When standard output is a terminal
        device, the reference page output shall be piped through the command.
        If the PAGER variable is null or not set, the command shall be either
        more or another paginator utility documented in the system
        documentation.

but the description of the mailx command says

  PAGER Pathname of the program to use in the more command or when crt
        variable is set.  The default paginator pg(1) or, in BSD
        compatibility mode, more(1) is used if this option is not defined.

I would recommend we go with the man interpretation, i.e. that PAGER is
passed to ``sh -c''.

                                        Juliusz
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to