Asdcarl.155 net.bugs.v7 utcsrgv!utzoo!decvax!ucbvax!ucsfcgl!sdcarl!rusty Wed Feb 17 09:28:59 1982 /bin/sh bug With sh if you say $ var=value command then "var" is temporarily exported into the environment for the execution of "command". But you cannot say $ exec var=value command because the silly shell tries to execute "var=value", and if you say $ var=value exec command then "command" gets executed but "var" doesn't get exported. ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.