smistrip(1)
π smistrip(1) β SMI Tools π
okay so bestie, welcome to the smistrip page β this is the SMI Tools era, and weβre getting MIB/PIB modules out of text files. iconic behavior only. π
π NAME π
smistrip β extract MIB or PIB modules from text files, like RFCs or I-Ds.
β¨ SYNOPSIS β¨
smistrip [ -Vhn ] [ -d dir ] [ -m module ] [ file(s) ]
π¦ DESCRIPTION π¦
okay so smistrip is the program that extracts 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. periodt. π
πΈ OPTIONS πΈ
-Vβ Show thesmistripversion 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 directorydirinstead of the current working directory.-m moduleβ Extract only the modulemoduleinstead 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 fromstdin.
ngl,smistriptries 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 module. But some documents just cannot be parsed correctly bysmistripand probably produce incorrect output. You might consider usingsmilinton every extracted module file to check its syntactical correctness. fr fr. π
π EXAMPLE π
This example extracts only the module IPV6-MIB from the file rfc2465 and writes it to the directory /usr/local/tmp. slay.
$ smistrip -d /usr/local/tmp -m IPV6-MIB rfc2465
π SEE ALSO π
The libsmi(3) project is documented at http://www.ibr.cs.tu-bs.de/projects/libsmi/.
π«Ά AUTHOR π«Ά
(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.
π thatβs the whole page, bestie β smistrip(1) from SMI Tools / IBR, dated August 10, 2004. byeee! π
π¦ where this page comes from
- alpine 3.24: libsmi-doc 0.5.0-r5 Β· BSD-3-Clause AND MIT
- nixos 26.05: libsmi 0.5.0
- nixpkgs unstable: libsmi 0.5.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms