4 ms·
I use these languages in ascending order for sys-admin/config: shell -> perl -> python. On OpenWRT systems, sometimes even microperl won't fit. All you've got
by noonespecial 13y ago
I use these languages in ascending order for sys-admin/config:
shell -> perl -> python.
On OpenWRT systems, sometimes even microperl won't fit. All you've got is shell. (and sh only, none of this fancy bash stuff(1)) Its good to be able to do things at many levels.
(1) http://stackoverflow.com/questions/5725296/difference-between-sh-and-bash* http://stackoverflow.com/questions/5725296/difference-betwee...
- Torgo 13y agoAt my first "real" job I used to work on a RS-6000, a couple hundred-grand machine. The admin wouldn't install _anything_ non-stock other than a JVM on it. It taught me how to get around using only BSD Unix tools and Bourne Shell. It was an enormous pain in the butt, but what I learned has been utterly invaluable over the course of my career.
- reidrac 13y agoWell, it's more like: shell -> awk -> perl -> python. I use awk from time to time, specially when I need to process a file line by line and the task is too simple to use python (ie. an awk one-liner will do!).
- noonespecial 13y agoVery true. I really need to sharpen my awk/sed/grep skills, but damn, some of those 400 character awk "one-liners" hurt my brain. Perl regexes are rightfully known for being cryptic but those awk statements make me cry for my mama.