From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <224eadd58fe1b1848cf56e6759d46fe1@quanstro.net> Date: Fri, 14 Jul 2006 12:29:08 -0500 From: quanstro@quanstro.net To: 9fans@cse.psu.edu Subject: Re: [9fans] molesting the acme filesystem In-Reply-To: <44B7D4B5.3070808@lanl.gov> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 7f1ad96c-ead1-11e9-9d60-3106f5b1d025 you might be right. but i'm not sure. is there a good argument for having 'echo fu' return an error, but 'echo -n fu' work? also, when reading from such a file, it's usually problematic not to have a newline for shell scripts while it is much easier to remove an extra newline in c. globbing doesn't do the right thing without newlines; you have to write a for loop instead. what case am i missing? - erik On Fri Jul 14 12:32:53 CDT 2006, rminnich@lanl.gov wrote: > > I think if there were a newline, we'd all have scripts called 'chop' for > removing it. I don't think there's a perfect answer here. > > ron