Last updated on 2013-10-19
About the Book
In 8 Chapters, you are taken through the steps to write your first shell functions. You will learn how to capture your command history and turn any of your commands into shell functions. Presumably, you have commands and command sequences which you use more often, and could use a simpler format. By the time you have finished this introduction to shell functions, you will be able to collect, save, and re-use those functions in your daily routine, as if they were built-in commands.
The examples here have been tested in the bash shell, and are allegedly compatible with ksh.
Here is the Chapter list:
- Write a shell function
- Use functions arguments
- Inspect a function body
- Loop with foreach
- A brief history of shell commands
- Semantic comments
- Collect, save and re-use functions
- What's next?
The first and last chapters are available in the free Sample.
The last chapter points at future topics. I've quite a bit of work already for those future subjects. In this book, I look forward to reader review and criticism to make this generally accessible for the widest audience of shell programmers.
Since the sales figures just past a personal goal, the price has been adjusted. I have an appendix in the works. For those who have a copy, i'll be looking at the discount feature to give you incentive to come back. Contact me to give suggestions if you have a copy and would like to comment.
The Leanpub Unconditional, No Risk, 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms