From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <20071121180107.531D55B2E@mail.bitblocks.com> References: <20071121180107.531D55B2E@mail.bitblocks.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7FCC3D33-0BD7-4ED5-940A-8091073779C2@mac.com> Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] p9p mk issue Date: Wed, 21 Nov 2007 14:57:19 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 07cac7a8-ead3-11e9-9d60-3106f5b1d025 I think the thing we need to fix is that mk is ignoring an assignment if a system variable is already defined in the environment. However, this doesn't apply to normal variables: term% cat mkfile x=3 default:V: echo $x term% mk echo 3 3 term% x=4 mk echo 3 4 term% ed - mkfile 1d w q term% x=4 mk echo $x 4 term%