Obtaining Example Source Code
You can obtain the source code for the programs presented in this book from O’Reilly & Associates through their Internet server. The example programs in this book are available electronically in a number of ways: by FTP, Ftpmail, BITFTP, and UUCP. The cheapest, fastest, and easiest ways are listed first. If you read from the top down, the first one that works for you is probably the best. Use FTP if you are directly on the Internet. Use Ftpmail if you are not on the Internet, but can send and receive electronic mail to Internet sites (this includes CompuServe users). Use BITFTP if you can send electronic mail via BITNET. Use UUCP if none of the above works.
FTP
To use FTP, you need a machine with direct access to the Internet. A sample session is shown, with what you should type in boldface.
$ftp ftp.oreilly.comConnected to ftp.oreilly.com. 220 FTP server (Version 6.21 Tue Mar 10 22:09:55 EST 1992) ready. Name (ftp.oreilly.com:yourname):anonymous331 Guest login ok, send domain style e-mail address as password. Password:yourname@domain.name(Use your user name and host here) 230 Guest login ok, access restrictions apply. ftp>cd /published/oreilly/nutshell/sedawk_2250 CWD command successful. ftp>binary(Very important! You must specify binary transfer for compressed files.) 200 Type set to I. ftp>get progs.tar.gz200 PORT command successful. 150 Opening BINARY mode data connection for progs.tar.gz. 226 Transfer complete. ftp>quit221 Goodbye. ...