How-To Geek on MSN

A gentle introduction to Bash functions

Bash functions are essentially reusable wrappers around commands. You can use them to define complex command pipelines or to perform some detailed work and echo the result. They accept arguments and ...
Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
It has recently become popular to differentiate between the Java platform and the Java language, but many Java developers still are unsure of how to incorporate scripting into Java application ...
If you are writing a program that has a technical user base, it is a nice touch to make the program scriptable. In fact, you might want to do the hard work in a programming language and then use your ...
Three years ago, I wrote an article for JavaWorld called “Java Scripting Languages: Which Is Right for You?” When I collected the interpreters to compare, I tried to choose ones that seemed a good fit ...
For this article, I thought it would be beneficial to go back to some basics of shell scripting and look at how functions work. Most script writers probably eschew using functions because it's a bit ...