>_ IzzyLab

Topic breakdown

In bash, parameters have built-in operations on their value that don't require external utilities like sed or tr. One of them is substring replacement right inside the curly braces: it's important to distinguish the single-slash form (replaces only the first occurrence) from the double-slash one (replaces all). This task teaches you to grab the script's first argument and apply such a substitution to it, saving the cost of spawning a separate process.

What's checked

  1. all spaces replaced with _

What it looks like