-
-
Notifications
You must be signed in to change notification settings - Fork 381
Fix references to "goostats" in beginner shell looping material #254
Conversation
On Fri, Jan 24, 2014 at 09:28:12PM -0800, Randy Olson wrote:
Can't we just use the POSIX commands from goostats: head -3 $1 | cut -d , -f 1 | sort | uniq > $2 out of the box? I don't think a local script with a wonky name really $ for datafile in *[AB].txt; do echo $datafile; wc $datafile > stats-$datafile; done And remind the students that they could replace If we do want a local script, I think it deserves an intuitive name,
You're just missing a |
On Sat, Jan 25, 2014 at 02:11:56PM -0800, W. Trevor King wrote:
Oops, |
The narrative in the novice bash material is that
Well, I appended These commits are just patching the novice shell material, not adding anything new. If we want to discuss changing the novice shell material, that's a separate issue IMO. :-) |
On Sat, Jan 25, 2014 at 02:28:01PM -0800, Randy Olson wrote:
Ah, fair enough. I'm ok with the new scripts then, but I think they
Good idea. I've opened #255 and #256 addressing shebangs and |
I'm +1 for merging this. I still think it would be better to shebang these scripts, since they are supposed to be "programs", but I'm okay with having Nelle call them as bash scripts as well :) |
Fix references to "goostats" in beginner shell looping material
I added the
goostats
andgoodiff
programs, as they are discussed in the materials (but currently not existing).I also fixed references to
goostats
in the example code by appendingbash
in front of them, otherwise thegoostats
calls will not work.