Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Opens manpages with nano
- # Allows for comfortable searching, saving, editing
- #
- # Author: Michael Koch (Emkay443) (m<DOT>koch<AT>emkay443<DOT>de)
- # Version: 2013-09-24
- # License: GNU General Public License v3 (http://www.gnu.de/documents/gpl-3.0.en.html)
- manpages=$*
- for page in $manpages; do
- tmpfile=/tmp/nano_manpage$$
- man $page > $tmpfile && nano $tmpfile && rm $tmpfile
- done
Advertisement
Add Comment
Please, Sign In to add comment