Scripts to look up program documentation.
Last active
August 29, 2015 14:09
-
-
Save zmughal/5827305a7cfa428f34ef to your computer and use it in GitHub Desktop.
Documentation lookup scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
unset DISPLAY | |
ARG="$@" | |
matlab -nodesktop -nodisplay -nojvm -nosplash -r "help $ARG ,exit" \ | |
| cat | |
#| perl -nle 'print if (/For product information, visit www.mathworks.com./../\[?1l>/) > 2' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
unset DISPLAY | |
ARG="$@" | |
octave -q --eval "help $ARG" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
unset DISPLAY | |
ARG="$@" | |
Rscript -e 'help('\"$ARG\"')' | cat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
unset DISPLAY | |
ARG="$@" | |
swipl -g 'help('$ARG'),halt' | cat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment