OPT-CASE(1)

πŸ“¦
version 2.6.6 Β· 2 versions
, in alpine 3.24, epel 10, fedora 43, fedora 44

✨ OPT-CASE(1) ✨

okay bestie, welcome to the Optimize case insensitive regexp filters page of the manual πŸ’– yes that's the actual manual name and yes it's a whole vibe. buckle up.


🌸 NAME 🌸

opt-case.pl β€” the little script that optimizes case insensitive regexp filters for tin πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

opt-case.pl < input [> output]

πŸ’… DESCRIPTION πŸ’…

so like, opt-case.pl reads a tin(1) filter-file (tin(5)) that has regexp filters on STDIN, and it turns all the case insensitive regexp into case sensitive ones whenever possible 🫢 because case sensitive regexp are (a bit) faster. no cap. it's giving glow-up but for your filters.


πŸ‘‘ NOTES πŸ‘‘

🚨 okay this one matters, listen up 🚨
  • the case= line must come before any line with a regexp pattern. that is the order tin(1) saves the filter file in β€” so if you created the filter by hand and never let tin(1) rewrite the file, you might wanna check that first πŸ‘€
  • don't use opt-case.pl on wildmat filters. transform them into regexp filter via w2r.pl(1) first. periodt πŸ’…

🌈 AUTHOR 🌈

Urs Janssen <urs@tin.org> β€” iconic, we love πŸ’œ


πŸ“ SEE ALSO πŸ“

tin(1), tin(5), w2r.pl(1)


and that's the whole thing bestie 🧚 from the 3rd Berkeley Distribution, version 0.2.2 β€” slay, bye πŸ’–βœ¨

πŸ“¦ where this page comes from