The Perl and Raku Conference 2023 in Toronto
Attending this event?
Back To Schedule
Wednesday, July 12 • 4:00pm - 4:50pm
Command-line Filters - Time to Shine

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Starting with the bare basics of command-line pipes and redirection, I further cover the standard "Unix filter" form of code, and the benefits of nudging old code into this form.

These techniques are my bread-and-butter for exploratory programming and data analysis, and include a few of my best tricks.

Slides will cover variants for (Raku|Perl|Python) and (Mac|Windows|Unix).

Filters are the basic tools of command-line data munging. grep head cut sort uniq wc diff, pipes + redirects, intro + advanced tips. Why stop there? *You* can write your *own*. Perl, Raku, & Python have strong support for writing filters. Existing code often works better when refactored as a filter.

avatar for Bruce Gray

Bruce Gray

Consultant, Gray & Associates
* I eat, sleep, live, and breathe Perl!* Consultant and Contract Programmer.* Frequent PerlMongers speaker.* Dedicated Shakespeare theater-goer.* Armchair Mathematician.* Author of Blue_Tiger, a tool for modernizing Perl.* 38 years coding, 24 years Perl, 19 years Married, 17 YAPC&TPC... Read More →

Wednesday July 12, 2023 4:00pm - 4:50pm EDT
Track R

Attendees (9)