Re:Extracting data from Wikipedia using curl, grep, cut and ...
by MichaelBurge on Monday August 15, 2016 @03:59PM
(#12292961)
I've used Makefiles to coordinate a zoo of perl/bash scripts before. It's pretty effective.
[ Parent
| on HN ]
Re:Extracting data from Wikipedia using curl, grep, cut and ...
by black_knight on Monday August 15, 2016 @04:18PM
(#12293089)
Makefiles are underrated. The concept is so simple – it is basically a dependency graph with attached shell scripts – yet so powerful. Not just for building software, but also for everyday tasks where you need some files to be updated under some condition.
I recommend mk (original make replacement for Plan 9, available for different OSes through Plan9Port [0,1]). It has a bit more uniform syntax, and can check that the dependency graph is wellfounded.
Re:Extracting data from Wikipedia using curl, grep, cut and ...
by vacri on Tuesday August 16, 2016 @12:16AM
(#12295502)
I've been getting into Makefiles more over the past year, and still a noob at it. I see them as a necessary evil - they're baroque and they hurt... and yet they make other things easier. I'm using them less to compile stuff and more to package/upload things, but they certainly have their place.
Re:Extracting data from Wikipedia using curl, grep, cut and ...
by gcb0 on Monday August 15, 2016 @06:27PM
(#12293977)
another advantage of make is that every host have it. like vim.
mk is not there yet.
Re:Extracting data from Wikipedia using curl, grep, cut and ...
by viraptor on Monday August 15, 2016 @07:03PM
(#12294179)
Did you mean "vi"? Lots of systems don't install vim by default.
Re:Extracting data from Wikipedia using curl, grep, cut and ...
by taneq on Monday August 15, 2016 @11:00PM
(#12295252)
And contrariwise, lots of hosts install "vi" which actually seems to be vim. Aah, 'standards'. :P
Re:Extracting data from Wikipedia using curl, grep, cut and ...
by gcb0 on Wednesday August 17, 2016 @02:32AM
(#12302860)
not since 1990. :)
and even if that is the case, I'm still better being a vim user at a system that only has vi and ed, then any other editor's user.
Re:Extracting data from Wikipedia using curl, grep, cut and ...
by unexistance on Monday August 15, 2016 @06:48PM
(#12294103)
now I have to ask, is it just to run/execute things or there are other stuff you do with it?