bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken "heredoc" mechanism in bash2.03


From: Chet Ramey
Subject: Re: Broken "heredoc" mechanism in bash2.03
Date: Mon, 2 Jul 2001 11:39:22 -0400

> 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 <<-. 

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]