Skip to content

Ruby: String Munging #21

@JohnMurray

Description

@JohnMurray

One of the things that Ruby is really good at doing is sometimes called "string munging." Basically the ability to easily parse various kinds of input into a usable form, do something with it, and possibly output some info. It's a great scripting language.

This is very similar to some of the JS examples in the string processing versus, but with an emphasis on scripting (Ruby's domain). I think this will be particularly welcoming for system administrators who have a background in Ruby that need to learn C++ (or those who have operated in a similar role and maybe are transitioning).

I'm thinking of building a program and parsing the input from the ls command into some internal data-structures might be a good bit of code to showcase the dfiferences and provide lots of good teaching moments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions