Re:Awk: The Power and Promise of a 40-Year-Old Language
by selfhoster11 on Tuesday September 07, 2021 @03:29PM
(#28448824)
I don't think I ever ran TinyCore without immediately connecting it to the Internet to grab a bunch of packages. Puppy Linux included Perl in its base install at one time (I don't know if it still does), and Damn Small Linux was supposed to have a cut-down version of Perl included as well.
Re:Awk: The Power and Promise of a 40-Year-Old Language
by jolmg on Tuesday September 07, 2021 @03:36PM
(#28448898)
Python definitely not, though.
Re:Awk: The Power and Promise of a 40-Year-Old Language
by selfhoster11 on Tuesday September 07, 2021 @03:41PM
(#28448951)
Yeah, but if you are happy to program in Perl, that's basically every major Linux distro covered. Anything using DEB or RPM packaging, any machine with Git installed (which includes Windows), plus the ones I already mentioned, already have access to Perl. This is a formidable installed base with no effort needed to install a runtime.
Re:Awk: The Power and Promise of a 40-Year-Old Language
by jolmg on Tuesday September 07, 2021 @03:58PM
(#28449132)
I agree, but michaelcampbell's point seemed to be: why learn a language for its ubiquity, when more commonly used languages seem to be just as ubiquitous? So, I focused on how they're not that ubiquitous.
Re:Awk: The Power and Promise of a 40-Year-Old Language
by selfhoster11 on Tuesday September 07, 2021 @04:55PM
(#28449819)
I see what you mean. I guess what I was trying to say is that my position is close to that of michaelcampbell's, and that I wanted to emphasize how little portability is sacrificed by adopting this position on most environments one will ever work in.
Re:Awk: The Power and Promise of a 40-Year-Old Language
by baktubi on Tuesday September 07, 2021 @03:56PM
(#28449109)
If you’re using DamnSmallLinux etc I’d imagine you can package your own awk quite easily! Perl would require a lot more packages. But all you need to do is copy a couple binaries right?
Re:Awk: The Power and Promise of a 40-Year-Old Language
by jolmg on Tuesday September 07, 2021 @04:06PM
(#28449211)
Haven't used these distros since a decade or so ago.
Not sure why I'd have to package awk. Busybox's is probably sufficient for most uses, if the need ever arised, which I don't think it normally does when using these distros.
I imagine that DamnSmallLinux or TinyCoreLinux possibly don't have them by default. Their focus is to be as small as possible in order to download quickly and fit in a USB drive or CD. Their small size was more important back when speeds were slower and drives were smaller. They were also good for when you had a limited number of storage options and you wanted the running OS to fit completely in RAM (back when RAM was smaller).