News for hackers. Stuff that matters.
Re:Perl 11 by collyw on Wednesday October 24, 2018 @04:40AM (#18290672)
Bash has a horrible syntax. Beyond a simple for loop I would reach for Perl.
Re:Perl 11 by MichaelMoser123 on Wednesday October 24, 2018 @09:50AM (#18292385)
But it has set -x ; really helps to see what the script is doing step by step. I don't know how to do that easily with other languages.
Re:Perl 11 by bmn__ on Wednesday October 24, 2018 @12:41PM (#18294009)
Put "how to trace a X script" (where X is a language name) into the search engine of your choice.
Re:Perl 11 by CydeWeys on Wednesday October 24, 2018 @04:57AM (#18290770)
Shell scripts have so many footguns. Python is almost as terse, takes less time to write (for me anyway), and is way more maintainable.