From owner-freebsd-hackers Thu Jan 7 22:56:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA12433 for freebsd-hackers-outgoing; Thu, 7 Jan 1999 22:56:06 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles115.castles.com [208.214.165.115]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA12428 for ; Thu, 7 Jan 1999 22:56:04 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id WAA00573; Thu, 7 Jan 1999 22:52:34 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901080652.WAA00573@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Dag-Erling Smorgrav cc: hackers@FreeBSD.ORG Subject: Re: /usr/bin/ftp In-reply-to: Your message of "08 Jan 1999 04:42:36 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 07 Jan 1999 22:52:33 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > There was a discussion about FTP clients on #FreeBSD today, and in > connection with that I discussion I noticed that there are bugs in > ftp(1)'s argument handling. For instance, "dir |more", which is > suggested in the man page as an example of piping, doesn't work - it > requires one argument in front of the one with the pipe (so "dir . > |more" works) > > I also noticed that there's a lot of redundancy in cmds.c - > practically each command is implemented as a separate function that > does its own argument parsing, even though most of them have nearly > the same syntax. > > Whaddya say, is ftp(1) due for a revamp? Check to make sure that the NetBSD folks haven't already gone down this path (the last major update was a sync with some of their good work), and then MHO is that you should wield the knife. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message