On 2006-01-06 16:22:19 +0100, Bruno Bonfils wrote:
On ven 06 janvier, Vincent Lefevre wrote:
une commande externe est lancée dans les 2 cas ( $READNULL pour le premier cas ), la premiere syntaxe ne présente donc aucun interet.
Pas avec zsh (d'après la doc).
hmm, source ?
man zshexpn
COMMAND SUBSTITUTION
A command enclosed in parentheses preceded by a dollar sign,
like `$(...)', or quoted with grave accents, like ``...`', is
replaced with its standard output, with any trailing newlines
deleted. If the substitution is not enclosed in double quotes,
the output is broken into words using the IFS parameter. The
substitution `$(cat foo)' may be replaced by the equivalent but
faster `$(