From owner-freebsd-questions@FreeBSD.ORG Sat Sep 29 03:46:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BB6E16A417 for ; Sat, 29 Sep 2007 03:46:48 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id D48D913C467 for ; Sat, 29 Sep 2007 03:46:47 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so5815401pyb for ; Fri, 28 Sep 2007 20:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=9LPS2fyu6Cs3BVz4ehtW8ao1hTD8+potqRL6+eH3R3g=; b=Uo3UOvlFtUTsWwIURb5Yg2agAMQoYWHeBzvgeiS0nuMGkDiyECej+WvAvpk2AT5BrNy35lCzb7DPSbLGJ1FjrehbXE6aDG7iDLSjwzbu1WWpauKQ/iZtHGjEBjZsg1cKE+G/Lp/6cfaQ4SZf2gTK1Plt3OB0jmqMA057MrrlORs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iVuIQ/0Rmf5YMzt1hmWk4xELkk5SC/C3BYQlvt37wRCVipLeTcg+vLWBOgMNvpozY19YgOO+sEiiGf+S3hhARBtAeogO9NaFU3UYTLJhlu9WqJZckdBhC0yLe6NTQDMm29cQRQo/ZY/5Fnmy8xclT33E4bJzvw836WtA4Vka0BY= Received: by 10.65.43.5 with SMTP id v5mr227629qbj.1191037606998; Fri, 28 Sep 2007 20:46:46 -0700 (PDT) Received: by 10.65.105.2 with HTTP; Fri, 28 Sep 2007 20:46:46 -0700 (PDT) Message-ID: Date: Sat, 29 Sep 2007 03:46:46 +0000 From: "Aryeh Friedman" To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: url encoding a string with base system tools X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 03:46:48 -0000 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?