From owner-freebsd-chat Sun Jun 17 10:53: 5 2001 Delivered-To: freebsd-chat@freebsd.org Received: from tsunami.acidpit.org (tsunami.solveinteractive.com [206.190.163.234]) by hub.freebsd.org (Postfix) with ESMTP id 364E137B403 for ; Sun, 17 Jun 2001 10:53:02 -0700 (PDT) (envelope-from rch@acidpit.org) Received: by tsunami.acidpit.org (Postfix, from userid 1001) id 5CAF31F20; Sun, 17 Jun 2001 13:51:50 -0400 (EDT) Date: Sun, 17 Jun 2001 13:51:50 -0400 From: Robert Hough To: Chris Moline Cc: chat@freebsd.org Subject: Re: System Tuning/Sysadmins Message-ID: <20010617135150.A84666@acidpit.org> References: <20010617063505.A29241@shell.monmouth.com> <20010617073505.B20171@h24-67-61-12.lb.shawcable.net> <20010617103922.A79022@acidpit.org> <20010617093905.A20349@h24-67-61-12.lb.shawcable.net> <20010617124444.A84138@acidpit.org> <20010617110702.A20700@h24-67-61-12.lb.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010617110702.A20700@h24-67-61-12.lb.shawcable.net>; from ugly-daemon@home.com on Sun, Jun 17, 2001 at 11:07:02 -0600 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jun 17, 2001, Chris Moline wrote: > > It's amazing what you can do if a few simple utilities get lost: > > > > #!/bin/sh > > # a bad replacement for ls > > for LS in `echo *` > > do > > if [ -d "$LS" ]; then > > echo "$LS/" > > else > > echo "$LS" > > fi > > done > > I begin to see now why you guys don't like gui tools. Before anyone says anything, I know the `echo *` is not needed, I added it for clarity. Feel free to rail me on the rest though. :) -- Robert Hough (rch@acidpit.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message