From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nalaginrut Newsgroups: gmane.lisp.guile.user Subject: Re: Installing scheme only programs Date: Fri, 11 Mar 2011 13:24:40 +0800 Organization: HFG Message-ID: <1299821080.2579.22.camel@Renee-desktop> References: <1299809895.2579.3.camel@Renee-desktop> <20110311045028.OURS6.8825.root@cdptpa-web24-z02> <20110311.015705.296722706338946665.diogofsr@gmail.com> Reply-To: NalaGinrut@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299821120 23253 80.91.229.12 (11 Mar 2011 05:25:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2011 05:25:20 +0000 (UTC) Cc: guile-user@gnu.org To: "Diogo F.S.Ramos" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Mar 11 06:25:16 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pxuqg-0006SJ-Tx for guile-user@m.gmane.org; Fri, 11 Mar 2011 06:25:15 +0100 Original-Received: from localhost ([127.0.0.1]:45897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxuqf-0001kL-TE for guile-user@m.gmane.org; Fri, 11 Mar 2011 00:25:13 -0500 Original-Received: from [140.186.70.92] (port=57171 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxuqV-0001h6-Um for guile-user@gnu.org; Fri, 11 Mar 2011 00:25:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxuqU-0008R7-N8 for guile-user@gnu.org; Fri, 11 Mar 2011 00:25:03 -0500 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:35103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxuqU-0008Qe-J0 for guile-user@gnu.org; Fri, 11 Mar 2011 00:25:02 -0500 Original-Received: by qyk30 with SMTP id 30so2345884qyk.0 for ; Thu, 10 Mar 2011 21:25:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:reply-to:to:cc:in-reply-to :references:content-type:organization:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=m4UW1iVgGh5PRmlS9+J4Rc7ljs7OguaGjL/2OwOQci4=; b=mo0RU5Ssiv/pvuDlkgJuITxsadwmsCDY4J7yafmzVnTmlRxWdGxgvY1X1lUZ8lWzH5 kKuCOUy0Bmn57vtYTGt6rHUGetQ7/qV6YQjJnkiWsOxXfakk5BF5gDnVJRqwXU3AtZkE tksn0q0oDTdIVbkumzP7BqPdSy69JbvLJ0DvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=weICaPNHOfziZf10+nKjgbaLEclnemVCkU0OYHrafqXwxnQLP7u6nabQbARQz7ZJlD icSvCJr+MIUKhRoU0gBEPVS9NtFMhcZHyRdCR+4aURiKwF3A3dqCCypFxqGAUt2jJEbm hXtyB1dXvITQFu9f2RHrvVgMwbC13MDoBSkNU= Original-Received: by 10.224.9.1 with SMTP id j1mr7860594qaj.210.1299821101900; Thu, 10 Mar 2011 21:25:01 -0800 (PST) Original-Received: from [192.168.100.100] ([183.15.164.76]) by mx.google.com with ESMTPS id p13sm2939508qcu.29.2011.03.10.21.24.49 (version=SSLv3 cipher=OTHER); Thu, 10 Mar 2011 21:25:01 -0800 (PST) In-Reply-To: <20110311.015705.296722706338946665.diogofsr@gmail.com> X-Mailer: Evolution 2.28.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.176 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8529 Archived-At: > >> > I wonder if there is a tool to, say, strip all comments from the > >> > "binary", so it could be smaller. I guess such tool would not be that > >> > hard to write, but I don't know. > >> > >> I think it's not a big deal if you just want to get rid of comments.I > >> always do it like this way: > >> ====== > >> sed "/;.*/d" filename > >> ====== > > > > Careful! Guile now has the expression comment #; > > That sed would be bad for something like (list a #;b c) > > Thank you for the 'sed' recipe. > > Unfortunately, it's deleting whole lines like: > > (foo bar) ;;this line is gone > Well, I think it's a personal code style problem. I'd like to write comments for a new line. Maybe 'sed "s: ;.*::g" filename' is better. Note there should be a space before ";" in case you are using a "#;" as dismich said. But I think we must design a perfectly safe method. Anyway, I think it's a big deal now. :-) To dismich: I don't know there's a "#;" now. Thanks for warning. And I'd like to know what the "#;" means. :-) -- GNU Powered it GPL Protected it GOD Blessed it HFG - NalaGinrut