From f26f94ae1a2bc958c0b7cdeba5f405edc7eae0fa Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 25 Sep 2013 16:34:42 -0400 Subject: guides/shell-workshop/index.mdwn: New file. --- diff --git a/Makefile b/Makefile index 660414a..fac18c5 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,8 @@ srcs = \ talks/index.mdwn \ essays/index.mdwn \ essays/commercial-free-software.mdwn \ - essays/social-networking.mdwn + essays/social-networking.mdwn \ + guides/shell-workshop/index.mdwn objs = $(srcs:.mdwn=.html) .SUFFIXES: diff --git a/guides/shell-workshop/index.mdwn b/guides/shell-workshop/index.mdwn new file mode 100644 index 0000000..1b5e549 --- /dev/null +++ b/guides/shell-workshop/index.mdwn @@ -0,0 +1,85 @@ + + + +UNIX® Shell Scripting Workshop +================================== + +Introduction to the UNIX Shell Language and Environment +------------------------------------------------------- + +This is a workshop that I gave at the New Jersey Institute of Technology (NJIT) +in the Spring of 2012 as part of the workshop series of the university's chapter +of the Association for Computing Machinery (ACM). It was based on a similar +tutorial I had given during meetings of NJIT ACM's SIG GNU/Linux in the Fall of +2011. + +Flyer +----- + +Below you may find the flyer for this event: + + * [Source SVG document](flyer.svg) + * [Rendered PDF document](flyer.pdf) + +This flyer includes copyrighted images used pursuant to the fair use limitation +of U.S. Copyright Law. + +Standards +--------- + +The workshop referred to the Shell and Utilities (XCU) volume of +[POSIX.1-2008][posix], [published][unix] by the IEEE and The Open Group. +Everything covered applies to any sufficiently-compliant shell and operating +system. + +[posix]: http://pubs.opengroup.org/onlinepubs/9699919799/ +[unix]: http://www.unix.org/ + +Notes +----- + +The following are my notes from the tutorial I gave at SIG GNU/Linux +meetings, reused for the workshop: + + * [shell.txt](shell.txt) + * [shell-tut.txt](shell-tut.txt) + +The following are the notes I wrote as a guide for the workshop: + + * [notes.txt](notes.txt) + +Session +------- + +The following is a cleaned-up version of the shell session from the +workshop, including all of the commands I ran and scripts I wrote. + + * [Plain text (Markdown) document](session.txt) + * [HTML document](session.html) + +Examples +-------- + +At the end of the workshop, I showed the following example shell scripts: + + * [`which` of debianutils][debianutils-which] (an implementation of [a program + available][which] on many UNIX-like operating systems), notable for its use + of the internal field separator (IFS) to parse the `PATH` variable + * [`opkbuild`][opkbuild] of opkhelper (a set of scripts I wrote) + +[debianutils-which]: http://anonscm.debian.org/gitweb/?p=users/clint/debianutils.git;a=blob;f=which;hb=1b1dfee67e9ddd9dfe9171ac347e5000f4deab8a +[which]: https://en.wikipedia.org/wiki/Which_%28Unix%29 +[opkbuild]: http://odin1.pehjota.net/git/opkhelper/tree/src/opkbuild.sh + +Copyright +--------- + +Copyright © 2012 Patrick "P. J." McDermott + +All works related to this workshop, including this document, the flyer, the +notes, and the session records may be used under the terms of the [Creative +Commons Attribution 3.0 Unported license][cc-by-3.0]. + +[cc-by-3.0]: http://creativecommons.org/licenses/by/3.0/ + + -- cgit v0.9.1