|
From: | Stefan Monnier |
Subject: | [Gnu-arch-users] Re: building arch on cygwin |
Date: | Wed, 01 Dec 2004 10:05:55 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
>> Easy. $(expr 1 + 1) works in ash on Linux, although I'm not sure if >> Cygwin has a /usr/bin/expr. > It does. But afaik you should use backticks ( `expr 1 + 1` ) to stay > within posix. Nope: POSIX has $(...) just fine. The `...` is only needed for ancient pre-POSIX shells. IIRC Solaris's /bin/sh was one such ancient shell. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |