UMM-CSci-Systems / Command-line-introduction-pre-lab

Pre-lab for the Command-line-introduction lab
MIT License
1 stars 9 forks source link

Add an example of a "nice" shell script #2

Open NicMcPhee opened 6 years ago

NicMcPhee commented 6 years ago

Students often struggle with writing scripts that are (relatively) clean, well-organized, use names well, and have comments when appropriate. It might be useful to provide an example here of a script that has:

Not all of this will apply to this lab, but it will apply to this and the next lab, so people might want to refer back to it, and there probably should be a mention in the write up for the next pre-lab to remind people that it's here.