from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209586

userrating:


May 25th. 2007:
Words

486

Views

258592

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149883

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





smistrip

Section: SMI Tools (1)
Updated: August 10, 2004
Index Return to Main Contents
 

NAME

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

SYNOPSIS

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

DESCRIPTION

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.  

OPTIONS

-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).
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 correctly by smistrip and probably produce incorrect output. You might consider to use smilint on every extracted module file to check its syntactical correctness.  

EXAMPLE

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

SEE ALSO

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

smilint(1)  

AUTHOR

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
AUTHOR





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.5 ms