On Thu, 30 Mar 2006 22:06:45 -0600, Matthew R. Dempsky wrote:

> On Thu, Mar 30, 2006 at 07:39:12PM -0500, T wrote:
>> So is it bash that is eating the trailing \n's?
> 
> Yes, but it's not a bug.  See the section about ``Command Substitution''
> in the bash(1) man page.

Got it:

,-----
| Bash performs the expansion by executing command and replacing the command
| substitution with the standard output of the command, with any trailing
| newlines deleted.  Embedded newlines are not deleted.
`-----

the "feature" is so confusing.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to