|
|
For the shell-scripting challenged...
What about this script:
it'll keep a cache of already created man pages.
It also checks if the man page requested does exists or not.
Well, it's not complete, but it's a bit more useful of the original hint.
You can put it in your $HOME/.bash_profile or $HOME/.bashrc
---
For the shell-scripting challenged...
Here's a shell script based on yours, but actually does everything. It checks to make sure the manpage exists, it opens the page if it's already been cached (I didn't try yours but I don't see where yours would do that), and it uses /tmp/ManCache/ as the cache directory.
It's also done in shell script format instead of function format.
Here it is:
For the shell-scripting challenged...
this version gets the section right if it's not given.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|