The R Project SVN R

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2160 hornik 1
#!/bin/sh
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'.
7
if test -n "${1}"; then
8
  exec ${PAGER} < ${1}
7218 hornik 9
else
15168 pd 10
  exec ${PAGER}
2160 hornik 11
fi
7218 hornik 12
 
13
### Local Variables: ***
14
### mode: sh ***
15
### sh-indentation: 2 ***
16
### End: ***