Thursday, May 30, 2013

Less time programming, more time lunching

Dear Diary,

In order to make things more mechanical and avoid my clumsy human error, I made some shell scripts to run the programs for different parameter values.  Everything now works after one click and I don't have to reset everything by hand each time I want to rerun the program.



You see, all the terminal commands that you would normally put into the terminal can be loaded in a text file (extension: .sh) that begins with #!/bin/sh so that when you run the file.sh (by typing ./file.sh), the commands are run in order in the terminal.  You see, diary, technology has made life better.

No comments:

Post a Comment