CHAPTER 14

image

Taking Care of Business

Chris loves composing cryptic crossword puzzles, teaching chess and writing computer programs. He has a large collection of scripts to help you to do those things well.

Record keeping is a tedious chore, and the computer should help me do my bookkeeping with less effort than without it. Using shell scripts at the command line, One could enter an invoice and move on to something else in less time than it would take to open a spreadsheet or an accounting program.

The two scripts in this chapter form the basis of a bookkeeping system. First prcalc, to consolidate a pocketful of receipts into a single ledger entry. ...

Get Shell Scripting Recipes: A Problem-Solution Approach, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.