From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <20070527022358.GA48294@kris.home> References: <41026BEC-865B-4D05-8144-15F2ED75F01D@ar.aichi-u.ac.jp> <20070527022358.GA48294@kris.home> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <54E3A1C2-6928-4A5E-9298-D7127BFDC8E1@ar.aichi-u.ac.jp> Content-Transfer-Encoding: 7bit From: arisawa@ar.aichi-u.ac.jp Subject: Re: [9fans] name=`{cat foo} Date: Sun, 27 May 2007 12:04:44 +0900 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 73ab3c6a-ead2-11e9-9d60-3106f5b1d025 Thanks Kris, I have forgotten that! On 2007/05/27, at 11:23, Kris Maglione wrote: > On Sun, May 27, 2007 at 10:49:52AM +0900, arisawa@ar.aichi-u.ac.jp > wrote: >> I want to have a shell variable such as: >> name='abc def' >> >> How to do? > > You could start by reading the paper or the man page. > > for 'abc def': > > ifs=' > ' { name = `{cat foo} } > > for 'abc def > ', or 'abc def' if you'd used 'echo -n': > > ifs=() { name = `{cat foo} } > > -- > Kris Maglione > > Bad law is more likely to be supplemented than repealed.