SC_WARTS2TEXT(1)
π SC_WARTS2TEXT π
okay bestie, so this is sc_warts2text, a lil' utility from the General Commands Manual section (section 1, the classics β¨). she's not fancy, she's not complicated, she just wants to show you what's inside your warts files. and honestly? iconic of her. π
β¨ NAME β¨
sc_warts2text β a simple dump of information contained in a warts file. that's it, that's the whole job, and she does it flawlessly π
π¦ SYNOPSIS π¦
sc_warts2text [-d ip2descr-file] [file ...]
πΈ DESCRIPTION πΈ
so, sc_warts2text gives you a simple dump of the information contained in a sequence of warts files. yes, multiple, she can handle multiple. multitasking queen. π
the output you get is literally the same as what you'd have gotten from scamper if you'd picked the text output option instead of the warts output option back when the data was collected. same vibes, different era, iykyk.
the options are as follows:
-d ip2descr-fileβ this one specifies the name of a file with IP-address, description mappings, one mapping per line. wanna see how that works? the examples section has you covered, bestie. go look. π«Ά
β οΈ okay so REAL TALK for a sec because this part matters: while the output ofsc_warts2textis structured and totally suitable for initial analyses of results, the format of the output is not suitable for automated parsing and analysis. and why? because the output ofsc_warts2textwill change over time with no regard to backwards compatibility. no cap. she said "i evolve, keep up." π so if you're doing analyses of the contents of a warts file, do it properly with specialised programs which link against the scamper file API. periodt. π
π EXAMPLES π
okay so say you run this command:
sc_warts2text file1.warts file2.warts
what happens? she will decode and print the contents of file1.warts, and then, right after, the contents of file2.warts. back to back, no interruptions. π§
now, say you run this one instead:
gzcat file1.warts.gz | sc_warts2text
this one will print the contents of the uncompressed file supplied on stdin. so you pipe it in, she dumps it out, everybody eats. π
and now my favorite part β the mapping glow-up. π given a set of IP-address, description pairs in a file named mappings.txt:
192.0.2.1 "foo"
192.0.2.2 "bar"
then this command:
gzcat file1.warts.gz | sc_warts2text -d mappings.txt
will print the description associated with a given destination address before each result is presented. so you're not just staring at raw addresses, you're getting the name too. she said "let me introduce you." πβ¨
π SEE ALSO π
π«Ά AUTHORS π«Ά
sc_warts2text was written by Matthew Luckie <mjl@luckie.org.nz>. absolute legend behavior, we stan. π
and that's the whole page, bestie β this one ships as part of Debian, and this version is dated October 15, 2010. yes, she's been serving since 2010 and she has not missed a day. mwah. ππ
π¦ where this page comes from
- debian bookworm: scamper 20211212-1.1 Β· GPL-2.0-or-later
- debian trixie: scamper 20211212-1.2+b1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: scamper 20250227-bp160.1.10 Β· GPL-2.0-only
- opensuse-leap 16.0: scamper 20250227-bp160.1.10 Β· GPL-2.0-only
- opensuse-leap 16.0: scamper 20250227-bp160.1.10 Β· GPL-2.0-only
- opensuse-leap 16.0: scamper 20250227-bp160.1.10 Β· GPL-2.0-only
- ubuntu jammy: scamper 20191102-1 Β· GPL-2.0-or-later
- ubuntu noble: scamper 20211212-1.2build1 Β· GPL-2.0-or-later
- ubuntu questing: scamper 20211212-1.2build1
- ubuntu resolute: scamper 20211212-1.2build2 Β· GPL-2.0-or-later
- ubuntu stonking: scamper 20211212-1.2build2 Β· GPL-2.0-or-later
- Copyright (c) 2010 University of Waikato
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms