[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: whitespace in here documents
From: |
Chet Ramey |
Subject: |
Re: whitespace in here documents |
Date: |
Thu, 1 Feb 2001 10:07:28 -0500 |
> Please take a look at
>
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=25422
>
> Is this a bug or a feature? I'm not sure either way...
POSIX says that here-document processing ``continues until there is a
line containing only the delimiter, with no trailing <blank>s.''
The way I read this, bash cannot `ignore trailing spaces completely'
as the poster suggests.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/