Category Archives: programming

command line fun – transferring data with sftp

I must admit that I misunderstood the task when I first saw it.  The vendor had changed how they provide the data.  We will no longer be able to retrieve the data using ftp – the data should be picked … Continue reading

Posted in Command line, programming | Tagged , , | Comments Off on command line fun – transferring data with sftp

command line fun – juliane day number to gregorian

In a previous blog, I implemented a routine to convert a Gregorian date into a Juliane day number to allow simple math and comparisons on dates. This was pretty cool but it is less useful if you cannot convert back … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – juliane day number to gregorian

command line fun – julian day number

I keep getting into a situation where I need to do some simple date calculations.  This is not a problem using a language like Java or when using a language that lets you add additional modules like Perl.  Unfortunately, some … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – julian day number

command line fun – math

What is nice about shell scripting on Linux is that the language is just as complete as most of the compiled languages.  What elements makes up a pretty good computer language. variables assignments conditionals statements flow control expressions functions These … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – math

command line fun – windows flow control

Windows batch files are not nearly as rich as some languages (perl or python) and certainly not as rich as the shell scripting. Not all of the familiar control structures exist but it is possible to create some as necessary … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – windows flow control

command line fun – flow control

Shell scripting is like any other programming language as far as control statements go.  To be honest, all your favorite control statements can be whipped up using either if/then statement or a loop. The good news is that we don’t … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – flow control

Becoming a developer – makefiles

Each programming language has its own set of commands for turning source code into a executable program.  Back in the olden days this was done using an old and by today’s standards a tool with limited functionality.  This tool as … Continue reading

Posted in programming | Tagged , , | Comments Off on Becoming a developer – makefiles

Becoming a developer, then and now

Back in the ancient days of computers, the 80’s, it was possible get free and open source software, but it was a bit more work.  To do so you might have used your modem to connect to bulletin board systems … Continue reading

Posted in programming | Tagged , , | Comments Off on Becoming a developer, then and now