2 ms·
But also sucks because the g-prefixed versions aren’t installed on Linux systems which means scripts that rely on them are not portable.
by jonhohle 1y ago
But also sucks because the g-prefixed versions aren’t installed on Linux systems which means scripts that rely on them are not portable.
- mdaniel 1y agoThankfully bash tolerates that, if the script author cares, e.g. gnu_sed=gsed if ! command -v $gnu_sed; then gnu_sed=$(detector_wizardry) fi $gnu_sed -Ee ...