From owner-freebsd-hackers Wed Feb 25 13:24:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23513 for freebsd-hackers-outgoing; Wed, 25 Feb 1998 13:24:42 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23393 for ; Wed, 25 Feb 1998 13:24:06 -0800 (PST) (envelope-from jandrese@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id QAA16849; Wed, 25 Feb 1998 16:26:40 -0500 (EST) Received: from doberman.cslab.vt.edu (doberman.cslab.vt.edu [198.82.184.21]) by sable.cc.vt.edu (8.8.8/8.8.8) with SMTP id QAA06885; Wed, 25 Feb 1998 16:23:56 -0500 (EST) Date: Wed, 25 Feb 1998 16:23:56 -0500 (EST) From: "Jason R. Andresen" X-Sender: jandrese@doberman.cslab.vt.edu To: Max Euston cc: "'FreeBSD Hackers'" Subject: Re: New utilities: factor(1) and wid(1)? In-Reply-To: <01BD4207.4AA87440.meuston@jmrodgers.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Feb 1998, Max Euston wrote: =)I have 2 utilities that are not in FreeBSD. =) =)- The first if factor(1) ala SVR4. It prints the prime factors of a =)number. I sometimes use it to find the "most efficient" geometry for a HD. =) It is written for 'long's, but I want to have it pick 'int'/'long'/'long =)long' (all unsigned) based on the input for speed (it uses adds, not =)multiplies). =) I believe that factor(1) is already a part of the games distribution. (Unless someone claimed a copyright on it ;) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message