From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <41026BEC-865B-4D05-8144-15F2ED75F01D@ar.aichi-u.ac.jp> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> From: arisawa@ar.aichi-u.ac.jp Date: Sun, 27 May 2007 10:49:52 +0900 Subject: [9fans] name=`{cat foo} Topicbox-Message-UUID: 739fd172-ead2-11e9-9d60-3106f5b1d025 Hello. I have a problem that I feel difficult to solve. Assume a filename is in a file "foo" Then rc script name=`{cat foo} will mostly succeed in copying the filename to "name" but for some exceptions. For example: echo 'abc def' >foo name=`{cat foo} whatis name The output result is: name=(abc def) I want to have a shell variable such as: name='abc def' How to do? Kenji Arisawa