Posted by jpluimers on 2017/03/09
This is golden: ShellCheck – shell script analysis tool.
It checks your shell scripts, either on-line or off-line (brew install shellcheck for Mac, apt, etc for Linuces)
–jeroen
via: regex – Read file line by line with bash script – Stack Overflow
Like this:
Like Loading...
Posted in bash, Development, Scripting, Sh Shell, Software Development | Leave a Comment »
Posted by jpluimers on 2015/01/22
Wow: I feel like having lived under a stone for 8 years, as RosettaCode has been alive since it was founded in 2007 by Mike Mol.
The idea is that you solve a task and learn from that, or learn by seeing how others have solved tasks or draft tasks.
So in a sense it is similar to the Rosetta stone: it has different languages phrasing the same tasks.
There are already a whole bunch of languages on RosettaCode (of which a few are in the categories below), and you can even suggest or add your own languages.
When you want to solve tasks, be sure to look at the list unimplemented tasks by language that leads to automatic reports by language (for instance two of the languages I use most often: C# and Delphi).
I’m sure there are lots of programming chrestomathy sites, even beyond the ones, and it feels very similar to programming kata sites.
–jeroen
Like this:
Like Loading...
Posted in .NET, APL, Awk, bash, Batch-Files, C, C#, C++, COBOL, CommandLine, Delphi, Development, Fortran, FreePascal, Java, JavaScript/ECMAScript, Lazarus, Object Pascal, Office VBA, Pascal, Perl, PHP, PowerShell, PowerShell, Prism, Scripting, sed script, Sh Shell, Software Development, Turbo Prolog, VB.NET, VBS, VBScript, Visual Studio and tools, Web Development | Leave a Comment »
Posted by jpluimers on 2014/02/03
This is brilliant for learning *nix shell programming:
explainshell.com – match command-line arguments to their help text
explainshell is a tool (with a web interface) capable of parsing man pages, extracting options and explain a given command-line by matching each argument to the relevant help text in the man page.
It has open source code at gitub too: idank/explainshell.
–jeroen
Like this:
Like Loading...
Posted in *nix, Development, Linux, Power User, Scripting, Sh Shell, Software Development, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2013/07/31
Wrote a small script that goes into my monthly crontab.
It gets ftp://ftp.internic.net/domain/named.cache into /var/lib/named/named.cache.new, and logs when you need to copy it over into /var/lib/named/root.hint
Read the rest of this entry »
Like this:
Like Loading...
Posted in *nix, Development, Linux, Power User, Scripting, Sh Shell, Software Development, SuSE Linux, wget | Leave a Comment »