

6·
14 hours agoYep, I cloned the git repo and wrote a script to step through commits a week at a time and count the total em dashes in the repo at each point in time


Yep, I cloned the git repo and wrote a script to step through commits a week at a time and count the total em dashes in the repo at each point in time


I’d just like to interject for a moment. What you’re refering to as GNU + Linux, is in fact, Linux


The regex is to match only em dashes in comments (following a //). If you want to search for all em dashes you can just do that (though there’s no need for the -o since grep matches lines and wc -l counts lines).


$ git clone https://github.com/y4my4my4m/harmony && grep -R "//.*—" harmony | wc -l
17
17 em dashes in comments… yeah that’s slop
Yeah sorry about that, was the default format in my spreadsheet software and I didn’t think to change it