RT-SEAR...RIBUTES(1)
π RT-SEAR...RIBUTES(1) β the RT::Attribute treasure hunt π
okay bestie, gather round, this is a User Contributed Perl Documentation page and it's lowkey iconic. come find your attributes with me π«Ά
β¨ NAME β¨
rt-search-attributes β search RT::Attribute objects. that's it, that's the whole vibe. π
π SYNOPSIS π
rt-search-attributes [OPTION] ATTRIBUTE_NAME QUALIFYING_CODE
π DESCRIPTION π
okay so here's the tea: this script goes through all the attributes named ATTRIBUTE_NAME, runs your QUALIFYING_CODE against them, and then prints out the deets of every matching attribute. it's giving detective energy πβ¨
and the way that QUALIFYING_CODE gets to use a whole squad of variables to peek at RT::Attribute's properties?? obsessed:
$Id$ObjectType$ObjectId$Name$Description$Content
also $_ is available as the shorthand for $Content, because typing the whole thing every time is so much, and she gets it π
-c,--contentβ print the attribute content. show me the goods bestie π-h,--helpβ display this help and exit. everybody's favorite flag tbh πΈ
π¦ e.g. π¦
literally just look at these, no cap:
rt-search-attributes SavedSearch '$id > 10'
rt-search-attributes Search '$_->{Query} =~ /Status/'
see how easy?? go off π
β friendly reminder from your girl: QUALIFYING_CODE is real code and it really runs, so write it like you mean it, okay? π
and that's the whole page, babe β slay. this one's served up by perl v5.42.3, dated 2026-07-20, and it's still RT-SEAR...RIBUTES(1) because some names are just too long to be contained ππ§ β
π¦ where this page comes from
- fedora 43: rt 5.0.10-1.fc43 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms