man pages are already paged by less. if you want the pager view use the / key to enter a search term like in vi. its a direct match, not a fuzzy match like with google or something
On Sat, Jun 18, 2011 at 10:42 AM, <[email protected]> wrote: > Today's Topic Summary > > Group: http://groups.google.com/group/cwelug/topics > > - Dropbox reader: 6 python scripts <#130a36ac00a1a0cc_group_thread_0>[1 > Update] > - referencing a specific item in a man > page<#130a36ac00a1a0cc_group_thread_1>[1 Update] > > Topic: Dropbox reader: 6 python > scripts<http://groups.google.com/group/cwelug/t/6ba6b1ea3b28bc93> > > "Mike B." <[email protected]> Jun 17 04:41PM -0500 > ^<#130a36ac00a1a0cc_digest_top> > > > > http://www.cybermarshal.com/index.php/cyber-marshal-utilities/dropbox-reader > > > > Topic: referencing a specific item in a man > page<http://groups.google.com/group/cwelug/t/fa02b87939827058> > > Robert Citek <[email protected]> Jun 17 02:07PM -0400 > ^<#130a36ac00a1a0cc_digest_top> > > What tricks do folks use to reference a particular item in the man > page? > > For example, I was talking with someone about how to modify their bash > history to include a date/time stamp. Referencing something in the > bash man page is a challenge as it is about 4,000 lines long with many > items repeated, especially things like "see FOOBAR above/below". I > used this to reference that item: > > $ man bash | less -iXN +/HISTTIMEFORMAT > > That looks kludgy, but it works. Referencing "SHELL BUILTIN > COMMANDS' wasn't so easy. I ended up just using the line number: > > $ man bash | less -iXN '+2155G' > > Any other solutions? > > BTW, I use this in my ~/.bash_profile: > > export HISTSIZE=50000 > export HISTFILESIZE=$HISTSIZE > export HISTTIMEFORMAT='%t%F %T%t' > > Regards, > - Robert > > > > -- > Central West End Linux Users Group (via Google Groups) > Main page: http://www.cwelug.org > To post: [email protected] > To subscribe: [email protected] > To unsubscribe: [email protected] > More options: http://groups.google.com/group/cwelug -- "lalalalala! it's not broken because I can use it" http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 -- Central West End Linux Users Group (via Google Groups) Main page: http://www.cwelug.org To post: [email protected] To subscribe: [email protected] To unsubscribe: [email protected] More options: http://groups.google.com/group/cwelug
