From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> From: arisawa@ar.aichi-u.ac.jp Date: Mon, 20 Nov 2006 17:40:24 +0900 Subject: [9fans] echo -n Topicbox-Message-UUID: e24cf830-ead1-11e9-9d60-3106f5b1d025 Hello, I have a question: echo -n writes 0 length byte to stdout. Is this intentional specification? If it is, what is intended for the specification? Output to pipe by a rc script such as echo -n $foo can close the pipe if $foo is empty. Therefore we are obliged to write if(~ $foo ?*) echo -n $foo Kenji Arisawa