3 ms·
This is much better as it’s portable and doesn’t cheat by assuming awk/grep/etc are available.
by alkonaut 7y ago
This is much better as it’s portable and doesn’t cheat by assuming awk/grep/etc are available.
- mandelbrotwurst 7y agoHonest question, what kind of environments are you working in where you don't / can't have these?
- alkonaut 7y agoWindows (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).