From owner-freebsd-questions Wed Oct 27 2:14:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by hub.freebsd.org (Postfix) with ESMTP id 1CA981550C for ; Wed, 27 Oct 1999 02:12:45 -0700 (PDT) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost) by blues.jpj.net (right/backatcha) with SMTP id FAA15819; Wed, 27 Oct 1999 05:12:42 -0400 (EDT) Date: Wed, 27 Oct 1999 05:12:42 -0400 (EDT) From: Trevor Johnson To: "Veinotte.com" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Perl Library In-Reply-To: <33608.941014765@axl.noc.iafrica.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I have been told that the perl file > > > > util.pl > > > > should already exist on BSDI systems. > > FreeBSD isn't BSDI. Also, what exactly is util.pl ? Certainly, it's not > part of the standard perl5 distribution. Judging from the notice on the one here, it's probably only available in BSDI: # Copyright (c) 1994 Berkeley Software Design, Inc. It seems to have a hodge-podge of little routines in it: % grep -1 ^sub /usr/libdata/adm/util.pl|grep ^# # Parse a generic record # Read a file of generic records (in paragraph mode) # Write out a generic record # Put a generic record into a string # Read a file as a single generic record # Write a file from a single %fields array # Print a header and list in columnar form # Query the user # Query for a hostname # Query for an address # getpass() Read a password from the tty # Parse group file # Write out new group file # List existing groups # Parse master.passwd file # Write out new passwd file # List existing users # Explain queries/defaults __ Trevor Johnson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message