4 ms·
These might make your bash scripts a bit faster in Linux, but they will make them a lot faster in Cygwin and MSYS bash in Windows, where process spawning is ver
by rossy 5y ago
These might make your bash scripts a bit faster in Linux, but they will make them a lot faster in Cygwin and MSYS bash in Windows, where process spawning is very slow. Seriously, if there's even a chance of someone running your bash script in Windows (you might be surprised - every bash.exe is either Cygwin or MSYS, including the one that comes with Git for Windows,) your Windows users will thank you for using pure bash instead of external commands.