From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, HTML_OBFUSCATE_10_20,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 835AA2125B for ; Mon, 3 Jun 2024 17:29:53 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1717428593; b=QwwDq3Dy74OtBS6B3SE8Dk2pM+jz7NvY7Vk54ZDkSU3HKTxFYA4QCkunbayrB8J5Yiu709V39z ysT5kU7LuztnVc9+fNE0BVuUZv+B5sDbWrliocPi7A0rLkk2GerSZUWtg/Wvaegs6KJS5QXFV9 fFjWu6xsbRNc/EonIhPL5sclABmrrSKKnIuTN3T60VSCVYUL6A+JC3uj8dmQpIJ1ee7RMR6QL9 QB9+DtiygcD4IlkdpYCh5YWHoAEA+ZN/lrKqCaQiKtBxG0obBX+cotkfoL6IPvEOUekckRalVN U9b8Mn2l5dSaJFOni6/eosHcGqzaQeOXr7nelQTtcenfGg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1717428593; bh=dgosr9sFg/ZaCQc914pZqFSGg7QWB+f73IyO3Q5aPdc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=XKjWgPwuV3o0qnRI9+Tm3ykOpk7gw2GA62682inOiSyJEn+vpqXvdYfg58qjPYlx5/4KJoCDwG J2nwsZk5BKJizp7XlLeyE8jFoB7q5NDL1WLdshM1UrTEiR5VMo6vFASogaz52qx/DKdgbRgmGb boZF1Vv7sEbcEHZv/Xbz4zIpYiwauWFup/xHz8idS5GVJ8dBKcKrnyViMztyaHbyOqxg5K1F0G mivjVrZnJPQjGxwkhicjh0TLjwkIG1KBIvMFeAIpU+rBjHHkSGnkQgkvVruR6f2ROVP8njfaWp vw8rQsVdS4DM+yd4tMNT6SymoZhSS3VzyooNgCd9QbbVYQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=rjPKbzeEU6fN2RlyfkqN9cSmsyrb5QpTUkl2fVpRPfg=; b=hggExrHpP7LgBK9Rou9J5FRZ8R lhFHLNDVeJZdMUwTXrr3/OSiNzupN2l9EOAI0iACRe0YDrRgdQ1cpAE5D3EZhQ1oM6TZ3L4LucnLh ozGbaOxsAuvVN2Tka/ul7R3wJPAnJNqOpRF0XicECAU6rsM4xj5fvt/UUra+h5YzIPSHb60J2rlwN DgBK+mBxckzS4Mc9wZpcdPxu7Inn2WFcnVk8IQuNtv4b//C3hnjZbs3Wrc35Y2BgiPof3XVv7af6D Rbj+bcA8bKypkblT5q7boBUJMaC10W3FoNF/fJ8txCpmFe0IoL2lxxj7iHFzhzJJ595jI1+LeSucV Bohaiybw==; Received: by zero.zsh.org with local id 1sE9dA-0008Ct-RX; Mon, 03 Jun 2024 15:29:52 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:46013) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1sE9ci-0007UH-82; Mon, 03 Jun 2024 15:29:24 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca ([24.224.136.13]) with ESMTPS id <0SEI0WDKQFZUGMC0@mta02.eastlink.ca> for zsh-users@zsh.org; Mon, 03 Jun 2024 12:29:23 -0300 (ADT) Received: from [192.168.0.15] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id E9cgsAqLg08rzE9cgsUqEy (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Mon, 03 Jun 2024 12:29:23 -0300 X-Authority-Analysis: v=2.4 cv=b+UR4cGx c=1 sm=1 tr=0 ts=665de153 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=wt-l6vaFaTDOSFP-y90A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=WIKRJq9r0OghJYacCbkA:9 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelvddgkeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfuvfhfhfgjsegrtderredtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpefhteethfevgeeuvdelgefgvdevudefueduffdvgfelvddvgfdtieegueeuleeifeenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduhegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------9JOcnNe543MMCOgsFhON0vP8" Message-id: <6f129457-5028-4e80-b998-de7eb4516958@eastlink.ca> Date: Mon, 3 Jun 2024 08:29:22 -0700 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: exec To: zsh-users@zsh.org References: <2bb9cec5-1293-4103-a73c-fd2a190cb65d@eastlink.ca> Content-language: en-US From: Ray Andrews In-reply-to: X-Seq: 29986 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: This is a multi-part message in MIME format. --------------9JOcnNe543MMCOgsFhON0vP8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit *exec* by exiting after it executes the builtin command. So *exec echo whatever* is just a shorter way of writing *echo whatever; exit*. Ok, that's clear.  Polite of zsh to be consistent there.  If one types 'exec' then one wants exec to do what it does, so treat all commands the same. --------------9JOcnNe543MMCOgsFhON0vP8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit exec by exiting after it executes the builtin command. So exec echo whatever is just a shorter way of writing echo whatever; exit.

Ok, that's clear.  Polite of zsh to be consistent there.  If one types 'exec' then one wants exec to do what it does, so treat all commands the same. 

--------------9JOcnNe543MMCOgsFhON0vP8--