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 `$(<foo)'. In either case, if the option GLOB_SUBST is set, the output is eligible for filename generation. -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / SPACES project at LORIA