guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] guile-snarf: allow multiple init actions on one line


From: Ludovic Courtès
Subject: Re: [PATCH] guile-snarf: allow multiple init actions on one line
Date: Thu, 24 Feb 2011 20:31:49 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Hi Brian,

Thanks for the patches!

I haven’t look at the other patch yet, but about this one:

BT Templeton <address@hidden> writes:

> +#!/bin/sh

Can you add a copyright/license header here?

> +snarf_test ()
> +{
> +    local x
> +    x=$(snarf "$1")
> +    if [ x"$x" != x"$2" ]; then

‘local’ and ‘$(...)’ are Bash extensions.  Can you remove ‘local’ and
use backquotes instead of $(...)?

> +snarf_test "^^a^:^" "a;"
> +snarf_test "  ^  ^  b  ^  :  ^  " "b;"
> +snarf_test "c\n^^d^:^\ne" "d;"
> +snarf_test "f^^g^:^h" "g;"
> +snarf_test "^^i^:^j^^k^:^" "i;k;"

Which of these should work with the current guile-snarf, and which
should work only with yours?

Thanks!

Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]