From owner-freebsd-hackers Sat May 25 21:33:06 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA03054 for hackers-outgoing; Sat, 25 May 1996 21:33:06 -0700 (PDT) Received: from sasami.jurai.net (root@sasami.jurai.net [206.151.208.162]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA03049; Sat, 25 May 1996 21:33:03 -0700 (PDT) Received: from localhost (winter@localhost) by sasami.jurai.net (8.7.5/8.7.3) with SMTP id XAA26597; Sat, 25 May 1996 23:33:26 -0500 (CDT) Date: Sat, 25 May 1996 23:33:26 -0500 (CDT) From: "Matthew N. Dodd" X-Sender: winter@sasami To: Dima Ruban cc: freebsd-hackers@FreeBSD.org Subject: Re: Adduser program in C In-Reply-To: <199605260338.UAA00157@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 25 May 1996, Dima Ruban wrote: > > With diskspace at the price it is, I don't think size is an issue in most > > cases. > What about RAM? I've got virtual memory. Whats the problem? If it becomes necessary to rewrite the thing to be efficient, I'm sure that it will be. In most cases, these problems won't be an issue. You aren't going to write an OS in perl, or a DBMS, but an adduser script or other small tasks can be solved with Perl quite nicely. > I didn't say anything about this particular case with adduser program. > But I couldn't stay away, when somebody (don't remember his name) > said that perl is perfect replacement for shell/awk/sed scripts. > The idea of his entire letter was "Perl rules! I'd love to see all > unix shell/sed/awk scripts rewritten in perl, because perl is perfect!" This is true. I'm all for using the proper tools for a task, and if that is perl, then great. Since perl embodies a good deal of the functionality of awk/sed/shell then its really a close call as to which is the correct solution. I've got shell scripts working along with perl do do some jobs. > My point is: I don't have anything against writing on perl > program/script which I won't run more often than once per hour Say, lets try out Python next! I hear thats the greatest thing since sliced bread! (Actually, the other sysadmin here suggested TK and Python for an adduser program that he wanted to write. We'll see. *grin*) Have a good one. | Matthew N. Dodd | winter@jurai.net | http://www.jurai.net/~winter | | Technical Manager | mdodd@intersurf.net | http://www.intersurf.net | | InterSurf Online | "Welcome to the net Sir, would you like a handbasket?"|