LOGO SITE
LinuxOpen

Каталог программ для Linux
 
 
      Главная E-mail Блог Статьи Новое      
 
 
 
   
  
   
 
 
» Text Editing & Processing » Sman 1.03 - Поисковик
Sman 1.03 - Поисковик
Text Editing & Processing
     
     
 
Sman 1.03 - Поисковик  Sman - поисковик для страниц Man.
  
0.031 MB|License: Artistic License

Sman is the Searcher for Man pages. Based on the example of the same name in Josh Rabinowitz's article "How To Index Anything" in the July, 2003 issue of Linux Journal (http://www.linuxjournal.com/article.php?sid=6652), sman is an enhanced version of 'apropos' and 'man -k'. Sman project adds several key abilities over its predecessors:

· Supports complex natural language text searches such as "(linux and kernel) or (mach and microkernel)"
· Shows results in a ranked order, and optionally an extract (using -e) of the manpage showing the searched text highlighted
· Allows for searches by manpage section, title, body, or filename (use 'metaname=searchword')
· Indexes the complete contents of the man page, not just the title and description
· Uses a prebuilt index to perform fast searches
· Performs 'stemming' so that a search for "searches" will match a document with the word "searching"

Requirements:

· Perl 5.005
· SWISH-E 2.4 or above.

Installation:

perl Makefile.PL
make
make test
make install

Usage:

Searching the man page index with sman:

The sman command is fairly simple. As its help output says:

Usage: sman [--max=#] [--rank] [--number] [--index='index']
[--file] [--help] [--repeats] [--begin=#'] [--config=file]
[--quote='"'] [--verbose] [--VERSION] searchwords
Ranked freetext searches on manpages.
Options:
--max=#: limit number of results, default 20
--number: show the number of each hit
--repeats: show repeat manpages
--begin=#: start showing hits at number N
--rank: show the rank of each hit
--file: show the source man file for each hit
--extract: show extraction of manpage for each hit
--config=my-sman.conf: a config file (specs an index file)
--index=index: specify an index (overrides config)
--quote="'": specify a quoting char for output
--verbose: show more output
--VERSION: show version and exit
--help: this help information


Sman 1.03 - Поисковик
 
   
 
 
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь. Мы рекомендуем Вам зарегистрироваться либо зайти на сайт под своим именем.

Другие новости по теме:

  • TkWeather 1.37 - Погода
  • Wikipedia Dump Reader 0.2.6 - Отображение текста Wiki
  • vimwiki 0.3.1 - Персональная WIKI
  • Dovecot 1.0.14 / 1.1 RC12 - Почтовый сервер
  • xtee 0.1 - Построение трубопроводов


  •  
         
         
         
         
      Добавление комментария  
     



     
         
         

    stati/kompyutery/elektronnye-podpisi-i-vremennye-metki.html.


     
    Авторизация
     
    Панель управления

    Login:
    Pass:


        Регистрация
      Напомнить пароль?
     
     

    Навигация
    Главная
    Text Editing & Processing
    Science and Engineering
    Information Management
    Adaptive Technologies
    Desktop Environment
    Artistic Software
    Home Automation
    Communications
    Documentation
    Programming
    Multimedia
    Education
    Utilities
    Printing
    Database
    Internet
    Security
    Office
    System
    Games
     

    Опрос на сайте
       

    Лучший из новостных
    Неплохой движок
    Устраивает ... но ...
    Встречал и получше
    Совсем не понравился

     
     

     

    Мегапоиск
    Пользовательского поиска
     

    Популярные статьи
     

    RSS News
    {inform_dle}
     

    Архив новостей
    Июль 2008 (1)
    Июнь 2008 (45)
    Май 2008 (140)
     

    Статистика
     

     
     
         
       
         
     
     
    в верх
     

     
    торговые билетные автоматы