@garritfra yes, and to make things more fun, the -w flag isn’t available in all versions (like on Mac). I remember having to make something conditional about that in a script at some distant past.
Top-level
@garritfra yes, and to make things more fun, the -w flag isn’t available in all versions (like on Mac). I remember having to make something conditional about that in a script at some distant past. 2 comments
@garritfra Totally. One major split is with the GNU tools and the BSD ones, where Apple wouldn't touch the former if their lives depended on it. The tools are of course easy to install yourself on Mac, but portability is still a concern as soon as someone else is going to use it. Almost like there should be a "jQuery for shell scripts", normalizing commands between environments. Perhaps there is and some reply guy will be happy to tell me about it. If so, feel free to do so :) |
@anderseknert I can only imagine. A great portion of my time debugging was also lost to the fact that the version on MacOS doesn't wrap lines at all. I only noticed this issue when testing inside the pod on production. 😅
How the hell can such a "standard util" be so inconsistent across platforms?