[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Decimal point or decimal comma
From: |
Paul Jarc |
Subject: |
Re: Decimal point or decimal comma |
Date: |
Mon, 10 Aug 2009 14:22:20 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Pierre Gaston <address@hidden> wrote:
> 2) eval can also be dangerous used like this, as it permits to pass
> arbitrary code that will be executed by the script
Oops, I missed some backslashes:
#!/bin/sh
"eval" "exec gawk --use-lc-numeric -f \"\$0\" \${1+\"address@hidden"}" && 0
... gawk code, which the shell won't see ...
But now gawk complains about \$. I'm not sure how to get around that.
paul
Re: Decimal point or decimal comma, Göran Uddeborg, 2009/08/11