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.
[ Parent
| on HN ]
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.