Sun

 

(S)un (P)rofessionals' (A)ssociation
of (R)ichmond (C)omputer Users Group


Important information about this file:

As it says in the tarball README file, any comments about 'iobal' should route through me rather than the author. Bob Smith was kind enough to share this script, but I would not want him to be surprised by unexpected E-Mail traffic regarding it.

One thing in the tarball is a trivial shell script that uses sed to present the /etc/system file in a standard sorted order. One customer asked for the vi commands I used to do this, and being a vi enthusiast, I'll share here the vi way, assuming one has entered 'vi /etc/system' ...

:g/^\*/d
:%!sort
:q!

The first command says "globally, delete all the lines starting with a
(literal)
asterisk)". The second says "Replace the entire edit buffer (%) with the result of passing it through the sort command". The last (:q!) says "DO *NOT* OVERWRITE /ETC/SYSTEM WITH THESE CHANGES". While I do this rather regularly without incident, I would encourage others to work with a COPY of /etc/system to avoid incident.

For comments, please send them to me: Bob.Sneed@sun.com

Tarball file

Return to the main Richmond SPARC page