If you are a traditional programmer, using bash for scripting may seem limiting sometimes, but for certain tasks, bash can be very productive. It turns out, some of the limits of bash are really ...
It’s quite easy to get bash to concatenate strings and do simple math on Linux, but there are a number of options for you to use. This post focusses on concatenating strings, but also shows how one of ...
I recently thought about writing a Groovy script to search JARs for a specific string, but decided to first look for an alternative rather than writing a script. The alternative needed to be easy to ...
Editor's Note: This article has been updated by its author. Thank you, Pat. Have you ever wanted to change the names of many files at once? Or, have you ever needed to use a default value for a ...
Have you ever stared at a large directory of file names and dreaded the idea of renaming them all? Or perhaps your scripts are littered with conditional statements checking to see if an environment ...
The here string is the leaner, more versatile cousin of the here doc.
The awk command can make it easy to remove duplicate characters from a string even when those characters aren’t sequential, especially when the process is turned into a script. First, the awk command ...