On 11/7/17 11:20 PM, Clark Wang wrote: > For now the `declare' command is under SHELL BUILTIN COMMANDS in the man > page so people may think bash parses the command line parameters the same > way as other built-in commands which is not true.
Only assignment statements, as described in the manual page: "Assignment statements may also appear as arguments to the alias, declare, typeset, export, readonly, and local builtin commands (declaration commands)." in the section describing how assignment statements are expanded. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/