In article <[EMAIL PROTECTED]>, Eric G. Miller <egm2@jps.net> wrote: >On Sun, Apr 14, 2002 at 11:55:43PM -0500, Daniel DiPaolo wrote: >> On Sun, 2002-04-14 at 20:15, Michael D. Crawford wrote: >> > > exec -a $NAME $COMMAND $ARGS >> > >> > exec -a /sbin/getty 31337r007k17 -destroyeverything >> >> Note that this is a shell specific thing (doesn't work in zsh, and I >> can't find the equivalent in the zsh man pages). >> >> Works fine in bash though :) > >AFAIK, it's a Bourne Shell builtin which is generally the only portable >shell scripting language. I don't know why zsh wouldn't support it,
Because POSIX/SuS do not define any flags for the 'exec' command. 'exec -a' is a bash specific extension. Mike. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]