This post will explain the use of the sort utility while in the Bash shell. The Sort utility can be used with output or on a text file. Open up an X11 terminal and make sure you are at a Bash shell prompt (type 'bash'). Use the man command to look at the following commands:
sort : Cygwin, Linux, BSD and MAC
seq : Cygwin or Linux only
shuf : Cygwin or Linux oly
jot : BSD or MAC only
awk : Cygwin, Linux, BSD and MAC
Notes on Teaching Programming quite possibly from a 'STEM' perspective. This is a course designed for upper school or high school students at Saint Paul's Academy in Bellingham, WA. An associated web page is http://teachingprogramming.rmfmedia.com/ .
Wednesday, January 8, 2014
Tuesday, January 7, 2014
Sorting Algorithms and All That Jazz (Part I)
Above: visual sorting algorithms with sound. Beneath: Brian Morgans from WWU brought us sorting in Java Script for this weeks Computer Club! |
Subscribe to:
Posts (Atom)