freebsd-src/gnu/usr.bin/perl/eg
1994-09-10 06:27:55 +00:00
..
g Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
scan Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
sysvipc Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
van Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
ADB Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
changes Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
client Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
down Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
dus Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
findcp Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
findtar Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
muck Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
muck.man Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
myrup Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
nih Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
perlsh Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
README Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
relink Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
rename Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
rmfrom Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
server Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
shmkill Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
travesty Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
who Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00

Although supplied with the perl package, the perl scripts in this eg
directory and its subdirectories are placed in the public domain, and
you may do anything with them that you wish.

This stuff is supplied on an as-is basis--little attempt has been made to make
any of it portable.  It's mostly here to give you an idea of what perl code
looks like, and what tricks and idioms are used.

System administrators responsible for many computers will enjoy the items
down in the g directory very much.  The scan directory contains the beginnings
of a system to check on and report various kinds of anomalies.

If you machine doesn't support #!, the first thing you'll want to do is
replace the #! with a couple of lines that look like this:

	eval "exec /usr/bin/perl -S $0 $*"
		if $running_under_some_shell;

being sure to include any flags that were on the #! line.  A supplied script
called "nih" will translate perl scripts in place for you:

	nih g/g??