8 ms·
You... probably aren't the book's intended audience. :) But seriously, Python makes easy things easy. In bash, just to extract a substring you need to do somet
by AlSweigart 11y ago
You... probably aren't the book's intended audience. :)
But seriously, Python makes easy things easy. In bash, just to extract a substring you need to do something like echo someletters_12345_moreleters.ext | cut -d'_' -f 2 That's not very beginner-friendly.