Date: Sat, 29 Sep 2007 01:16:08 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Aryeh Friedman <aryeh.friedman@gmail.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: url encoding a string with base system tools Message-ID: <20070929061608.GG62033@dan.emsphone.com> In-Reply-To: <bef9a7920709282046w7a5991f2vf0e18033320099be@mail.gmail.com> References: <bef9a7920709282046w7a5991f2vf0e18033320099be@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 29), Aryeh Friedman said: > I am creating a new port and part of the install procedure is the > install script needs to send some data to a web server in the form of > http://.....?XXXXX where XXX is the url encoded plain text (can > include any ascii printable character) that needs to be sent. > > Since this for a port I want to do the plain to url encoded text with > tools *ONLY* found in the base freebsd install (no ports). How would > I do this? A google search for "url encode sed" returns some useful links, the best being http://www.mollerus.net/tom/blog/2007/06/cf_through_a_commandline_interface_part_2_programm.html although I see there are two entries for tab, one just having a space, so you'll definitely want to test it out. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070929061608.GG62033>