Hacker News new | ask | show | jobs
by alkonaut 2262 days ago
This is much better as it’s portable and doesn’t cheat by assuming awk/grep/etc are available.
1 comments

Honest question, what kind of environments are you working in where you don't / can't have these?
Windows (cmd/powershell).

It wouldn’t surprise me if windows cmd is the most common environment for git on command line, since windows is the most common OS among developers (and git-bash is terrible).