News for hackers. Stuff that matters.
Re:How to Clean Text Data at the Command Line by isoprophlex on Sunday October 18, 2020 @04:58AM (#24816437)

    brew install coreutils
Lot less complexity than running things in docker.
Re:How to Clean Text Data at the Command Line by DangitBobby on Sunday October 18, 2020 @12:18PM (#24818922)
Some programs have different flags and behaviors between Mac OS and linux. This has bitten me quite a few times. Even on Linux there are often competing versions (BSD and GNU version might have different flags for example).
Re:How to Clean Text Data at the Command Line by leokennis on Sunday October 18, 2020 @07:59AM (#24817191)
Was just about to say. What text editing powerhouse from Linux (sed, awk, grep etc.) are not available on Mac? The answer is: none.
Re:How to Clean Text Data at the Command Line by howlin on Sunday October 18, 2020 @10:41AM (#24818175)
There are some rather archaic behaviors of the versions of these tools that come by default on MasOSX.

For instance, on a mac the 'sed' command doesn't understand the difference between space and tab

https://stackoverflow.com/questions/40311339/using-sed-on-ma...

Re:How to Clean Text Data at the Command Line by leokennis on Sunday October 18, 2020 @01:45PM (#24819675)
Oh, very likely true. But nothing stands in your way to just replace them with the GNU versions. Still way easier than running a Docker container...
Re:How to Clean Text Data at the Command Line by IanCal on Sunday October 18, 2020 @05:48PM (#24821382)
You do however now need to tell all the users of your tutorial to go and install brew, then install coreutils and then to replace every use of "sort" with "gsort", etc.

Running a docker container, regardless of what it does under the hood, is extremely easy on a mac. You install a program then do "docker run ...".

Re:How to Clean Text Data at the Command Line by isoprophlex on Sunday October 18, 2020 @08:39AM (#24817390)

    "Able to install packages"
Hmmm no that don't look as good on my resume as "autodidact docker wizard"

There's something to be said for the cool-new-tech driven approach, when it comes to resume building.

Re:How to Clean Text Data at the Command Line by IanCal on Sunday October 18, 2020 @02:50PM (#24820170)
That won't replace the utils though, will it? You get ones with a g prefix as far as I remember.