News for hackers. Stuff that matters.
Re:COBOL has been "dead" for so long, my grandpa wrote about it by enriquto on Wednesday October 02, 2024 @01:45AM (#41717541)
> Nowadays it is increasingly niche.

Still, if you buy a brand new mac today, most of the executable scripts in the system are written in perl.

You can check it yourself by running:

    file -bL /bin/* /usr/bin/* | cut -d' ' -f1 | sort | uniq -c | sort -n
As of 2024, macOS is essentially a Perl operation.
Re:COBOL has been "dead" for so long, my grandpa wrote about it by rightbyte on Wednesday October 02, 2024 @05:40AM (#41718784)
The bad thing with using a proper language like Perl for admin scripts is that they will degenerate into programs.

The good thing with Bash etc is that they are so bad you wont and when you do it anyway atleast you get some whip lashes for it.

Re:COBOL has been "dead" for so long, my grandpa wrote about it by anthk on Wednesday October 02, 2024 @08:07AM (#41719690)
There are good programs written in Perl. PangZero, Synaptic, most of Debian config tools...
Re:COBOL has been "dead" for so long, my grandpa wrote about it by layer8 on Wednesday October 02, 2024 @03:21PM (#41724156)
The problem is that Bash also isn’t really great for admin scripts.