From owner-freebsd-hackers Thu Aug 30 21:59:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from maxim.gbch.net (gw.gbch.net [203.24.22.66]) by hub.freebsd.org (Postfix) with SMTP id 873CD37B406 for ; Thu, 30 Aug 2001 21:59:46 -0700 (PDT) (envelope-from gjb@gbch.net) Received: (qmail 68881 invoked by uid 1001); 31 Aug 2001 12:51:34 +1000 Message-ID: X-Posted-By: GJB-Post 2.21 16-Jun-2001 X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-GPG-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-PGP-Public-Keys: http://www.gbch.net/keys.html Date: Fri, 31 Aug 2001 12:51:34 +1000 From: Greg Black To: Leo Bicknell , Leo Bicknell , freebsd-hackers@freebsd.org Subject: Re: Should URL's be pervasive. References: <20010830111018.A97057@ussenterprise.ufp.org> <20010830223746.A40540@ussenterprise.ufp.org> In-reply-to: <20010830223746.A40540@ussenterprise.ufp.org> of Thu, 30 Aug 2001 22:37:46 -0400 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Leo Bicknell wrote: | On Fri, Aug 31, 2001 at 10:36:44AM +1000, Greg Black wrote: | > Why not do it the Unix way? Create a new application, e.g., | > url(1), to parse the URLs and use it like so: | | Sometimes the solution is so obvious. :-) Well, part of it. I'm | thinking it's worth creating liburl, with parse routines, and then | a front end for the command line, url(1). If I was doing it, I'd do the command line program first in awk or Python to get on top of the parsing in an easy way and to have a test tool working. Then, when I was happy, I'd take advantage of the easy translation to C that is possible from awk or Python and build the library. Finally, I'd re-write the command in C to link against liburl. | If only there were more hours in a day. Just slow down your clock :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message