SC_WARTSFILTER(1)

πŸ“¦
this version Β· 2 versions
  • debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • opensuse-leap 16.0
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– SC_WARTSFILTER πŸ’–

okay so bestie, welcome to sc_wartsfilter(1) from the General Commands Manual β€” yes that's the whole manual-section situation, she lives in section 1 with all the other command-line girlies πŸŽ€. Basically: she picks records out of a warts file. That's the gig. That's the whole personality. And she does it flawlessly.


✨ NAME ✨

sc_wartsfilter β€” select specific records from a warts file πŸ¦‹


🌸 SYNOPSIS 🌸

sc_wartsfilter [-a address] [-i input-file] [-o output-file] [-O option]
               [-t record-type]

πŸ’… DESCRIPTION πŸ’…

The sc_wartsfilter utility selects specific records from warts(5) input, and outputs those records. Like a little filter queen. She reads, she chooses, she writes. no cap.

The supported options to sc_wartsfilter are as follows:

  • -a address β€” specifies an address or prefix of interest. πŸ‘€
  • -i input-file β€” specifies the input warts file to process.
  • -o output-file β€” specifies the output warts file to write records to.
  • -O option β€” allows the behavior of sc_wartsfilter to be further tailored. The current choices for this option are:
    • check-hops: Check if an address of an intermediate hop in a trace or tracelb object matches.
  • -t record-type β€” specifies a record type of interest. The current choices for this option are:
    • dealias
    • ping
    • tbit
    • trace
    • tracelb
fr fr, those are the only record types on the menu right now. If it's not on that list, she's not serving it. periodt. πŸ’…

🌈 EXAMPLES 🌈

The command:

sc_wartsfilter -i input.warts -o output.warts -a 192.0.2.5

outputs all warts records with a destination address 192.0.2.5 from input.warts into output.warts. iconic behavior honestly.

The command:

sc_wartsfilter -i input.warts -o output.warts -a 2001:db8::/32

outputs all warts records with a destination address within the 2001:db8::/32 prefix into output.warts. ✨

The command:

gzcat input.warts.gz | sc_wartsfilter -t ping | sc_warts2json

selects all ping records from a decompressed input file and and pipes them to sc_warts2json. 🫢 (yes the "and and" is staying, she said it twice because she MEANT it πŸ’€)


πŸ¦‹ SEE ALSO πŸ¦‹

scamper(1), sc_warts2json(1), sc_wartsdump(1), warts(5)


πŸ‘‘ AUTHORS πŸ‘‘

sc_wartsfilter was written by Matthew Luckie. 🫑 absolute main character energy.


and that's the page bestie!! this one shipped as part of Debian, dated November 21, 2019 β€” so yeah, a little vintage, but she ate and left no crumbs πŸŒΈπŸ’–πŸŽ€