[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing scheme only programs
From: |
Diogo F . S . Ramos |
Subject: |
Re: Installing scheme only programs |
Date: |
Fri, 11 Mar 2011 01:57:05 -0300 (BRT) |
>> > 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
--
Diogo F. S. Ramos
Re: Installing scheme only programs, Ludovic Courtès, 2011/03/11