The R Project SVN R

Rev

Rev 46832 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
46821 ripley 1
#!@R_SHELL@
7218 hornik 2
## For the curious: "pager $1" doesn't work in batch, because "more" will
3
## eat the rest of stdin.  The no-argument version is intended for use at
4
## the end of a pipeline.
15168 pd 5
##
6
## PAGER is determined at configure time and recorded in `etc/Renviron'.
64506 ripley 7
## This is documented to be a 'command line' so we do not quote it.
15168 pd 8
if test -n "${1}"; then
9
  exec ${PAGER} < ${1}
7218 hornik 10
else
15168 pd 11
  exec ${PAGER}
2160 hornik 12
fi
7218 hornik 13
 
14
### Local Variables: ***
15
### mode: sh ***
16
### sh-indentation: 2 ***
17
### End: ***