In the world of Linux, the command line is an incredibly powerful tool for managing and manipulating data. One of the most common tasks that Linux users face is processing and extracting information ...
Create handy command-line utilities in Rust. This article is about text processing in Rust, but it also contains a quick introduction to pattern matching, which can be very handy when working with ...
Looping thru each line is not a problem. But what is the best way to strip whitespace then get the first character? I'm trying to stick with BASH instead of PERL for portability's sake.