Date: 08 Jan 1999 04:42:36 +0100 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: hackers@FreeBSD.ORG Subject: /usr/bin/ftp Message-ID: <xzpbtka8m6r.fsf@flood.ping.uio.no>
next in thread | raw e-mail | index | archive | help
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? DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpbtka8m6r.fsf>