Unix/Linux Go Back    

CentOS 7.0 - man page for smistrip (centos section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

smistrip(1)				    SMI Tools				      smistrip(1)

       smistrip - extract MIB or PIB modules from text files, like RFCs or I-Ds

       smistrip [ -Vhn ] [ -d dir ] [ -m module ] [ file(s) ]

       The smistrip program is used to extract MIB and PIB module files from ASCII documents like
       RFCs or Internet Drafts. Modules are identified by a starting ASN.1 DEFINITIONS clause and
       the matching END clause. The output is written to files named by the modules' names.

       -V     Show the smistrip version and exit.

       -h     Show a help text and exit.

       -n     Print only what would be extracted, but do not write any output file.

       -d dir Write module file(s) to directory dir instead of the current working directory.

       -m module
	      Extract only the module module instead of all modules found in the input file(s).

	      The  input  text file(s) from which modules will be extracted. If no file is given,
	      input is read from stdin.

       Note that smistrip tries to be smart about locating module start and end,  detecting  page
       breaks  and blank lines near page breaks. It also tries to cut off blank prefixing columns
       from all lines of a modules. However, there might by documents that cannot be parsed  cor-
       rectly  by  smistrip  and  probably  produce  incorrect output.	You might consider to use
       smilint on every extracted module file to check its syntactical correctness.

       This example extracts only the module IPV6-MIB from the file rfc2465 and writes it to  the
       directory /usr/local/tmp.
	 $ smistrip -d /usr/local/tmp -m IPV6-MIB rfc2465

       The libsmi(3) project is documented at http://www.ibr.cs.tu-bs.de/projects/libsmi/.


       (C) 1999-2004 F. Strauss, TU Braunschweig, Germany <strauss@ibr.cs.tu-bs.de>
       (C) 2002 M. Bunkus, TU Braunschweig, Germany <bunkus@ibr.cs.tu-bs.de>
       and contributions by many other people.

IBR					 August 10, 2004			      smistrip(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 02:30 AM.