The R Project SVN R

Rev

Rev 47538 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 47538 Rev 47589
Line 1... Line 1...
1
##
1
##
2
## Rd2txt -- Convert man pages (*.Rd help files) to plain text.
2
## Rd2txt -- Convert man pages (*.Rd help files) to plain text.
3
 
3
 
4
revision='$Rev: 47538 $'
4
revision='$Rev: 47589 $'
5
version=`set - ${revision}; echo ${2}`
5
version=`set - ${revision}; echo ${2}`
6
version="Rd2txt: ${R_VERSION} (r${version})
6
version="Rd2txt: ${R_VERSION} (r${version})
7
 
7
 
8
Copyright (C) 2000 The R Core Development Team.
8
Copyright (C) 2000 The R Core Development Team.
9
This is free software; see the GNU General Public License version 2
9
This is free software; see the GNU General Public License version 2
Line 24... Line 24...
24
    echo "${usage}"; exit 0 ;;
24
    echo "${usage}"; exit 0 ;;
25
  -v|--version)
25
  -v|--version)
26
    echo "${version}"; exit 0 ;;
26
    echo "${version}"; exit 0 ;;
27
esac
27
esac
28
 
28
 
29
exec ${R_HOME}/bin/Rdconv -t txt ${1}
29
exec ${R_HOME}/bin/Rdconv -t txt "${1}"
30
 
30
 
31
### Local Variables: ***
31
### Local Variables: ***
32
### mode: sh ***
32
### mode: sh ***
33
### sh-indentation: 2 ***
33
### sh-indentation: 2 ***
34
### End: ***
34
### End: ***