[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Broken "heredoc" mechanism in bash2.03
From: |
Ben Okopnik |
Subject: |
Re: Broken "heredoc" mechanism in bash2.03 |
Date: |
Tue, 3 Jul 2001 06:47:48 -0400 |
User-agent: |
Mutt/1.0.1i |
On Mon, Jul 02, 2001 at 11:39:22AM -0400, Chet Ramey wrote:
> > Bash Version: 2.03
> > Patch Level: 0
> > Release Status: release
> >
> > Description:
> > Doing an indented "cat <<- !" (tested with other terminators also)
> > fails as shown in the scripts below.
> >
> > Repeat-By:
> >
> > Here are two scripts that demonstrate the problem, in two different
> > ways.
>
> Your `failing' lines include spaces. Only leading TAB characters are
> stripped when using <<-.
Sorry 'bout that; both "mcedit" and "emacs" showed only tabs. When I used
"vi" with "set list", the truth came out. :)
Sorry to "bug" you.
Have a great day!
Ben
-=-