Advanced Unix, CISY-239

Raritan Valley Community College, Spring 2003
Instructor: Bob Bertolatus
Textbook: Unix Shells by Example, 3rd ed, Ellie Quigley,
        Prentice Hall PTR, Upper Saddle River, NJ

page first posted 21Feb2003
 last revision 05May2003
Put your backgammon work in your own subdirectory under /users/staff/bobberto/adv/gammon/
05MAY - Backgammon specs (new)

25APR - Backgammon game task
 

UNIX links

Christopher Browne's Unix Web Pages
Unix philosophy
Polk's Place Unix Links
the UNIX Reference Desk
GNU's Not Unix
UNIXhelp for Users
The Elsop Unix Reference Center
O'Reilly Linux/Unix books
Web / programming / unix
Unix Guru Universe
AIX 4.3 documentation
Korn shell source released & commentary
Tom Lauren's Programming References
Unix Adminstrator book see chapter 13
 

Unix haters login

READ ME - A Brief History of Hackerdom - This is one of the main essays in the book "The Cathedral & The Bazaar".  The essay started as an Internet document, then was published as part of the the book.  As such, it seems to be no longer posted on U.S. sites but Google found this copy offshore.

Too much free software ?
Mob Software - a new development model

Software

Putty - a very good, free TELNET and SSH (secure Telnet) client for Windows
Mozilla, Opera - browse the web without Microsoft
WS_FTP - GUI ftp client, LE edition is free for home use


The following are some links to references about command line editing.
They were found via Google using the search string of
unix "command line editing"
Unix Command Line Editing
NACSE - Interactive Unix Tutorial
[Chapter 9] Saving Time on the Command Line
Using history and command line editing - SunWorld - January 1998
The Unix command shell

Unix Shell Features

The UNIX CD Bookshelf is collection of six O'Reilly books on CD that probably isn't supposed to be available on the Internet -- but someone's mistake (or disregard) is our gain.  It appears to be a site by a Canadian electrical engineering professor that touts the "wearable computer" ( oh! the things you can get involved in once you have tenure ! ).


Random Topics introduced in lecture
(feel free to find these in the AIX 4.3 documentation)

groups newgrp commands (our group is u239)
CDPATH environmental variable
expand unexpand commands
paste command
disown command
how to check the Korn shell version
- set -o emacs
- Ctrl-V
use #!/usr/dt/bin/dtksh to use Korn Shell 93 features (new)

Extreme Programming - project management methodology
World Wide Web Consortium - where the web is defined
icann.org - The Internet Corporation for Assigned Names and Numbers
Anysystem.com - a New Jersey source for "recycled" Sun Microsystems computers
ITxchange.com - a source for refurbished systems that would be perfect with Linux
Burst.net - Scranton, PA web hosting company
Hostex.net - another hosting company (very readable web colors)

Linux

building-tux.com - a hacker's quest to build his Linux machine
Linux Weekly News ... and more
Slackware (most Unix-like Linux)
LinuxLookup - Linux info
The Linux Documentation Project


2003 Baseball schedules at USA Today.  What I'd like you to do is work with sed to try and make fixed format records from these printouts, for example:

SUN|MAR30|TEX|ANA|8:05pm

A three character code is enough to identify the thirty teams (and be readily
recognized by a human).  I have received "delimited" files that looked like this
from Unix systems in my work.

Don't be concerned if you are unable to make the records with only sed - we learn
awk next.  To do the same task with different tools will show the strengths and
weaknesses of the tools.  Below are the codes

American League                   National League
==========================        ==========================
Anaheim                ANA        Arizona                ARZ
Baltimore              BAL        Atlanta                ATL
Boston                 BOS        Chicago Cubs           CUB
Chicago White Sox      CWS        Cincinnati             CIN
Cleveland              CLV        Colorado               COL
Detroit                DET        Florida                FLA
Kansas City            KCR        Houston                HOU
Minnesota              MIN        Los Angeles            LOS
N.Y. Yankees           NYY        Milwaukee              MIL
Oakland                OAK        Montreal               MON
Seattle                SEA        N.Y. Mets              NYM
Tampa Bay              TBY        Philadelphia           PHL
Texas                  TEX        Pittsburgh             PIT
Toronto                TOR        San Diego              SDG
                                  San Francisco          SFO
                                  St. Louis              STL
<=== end ===>