Needed to fish out an old bash script I wrote a while back for comparing lists. Gave it a cursory look over and 🙄 at my younger self's earnest attempt to re-implement grep badly. Replaced 40 lines of nonsense with 3 lines of a bash while loop and it burned through the job. Seems one benefit of going through the pain of learning Bash is the more you know, the less you need to use it.

· · Web · 0 · 0 · 3
Sign in to participate in the conversation

General purpose mastodon instance