On Tuesday 1 July 2008 05:22, Chris F.A. Johnson wrote:
> var=${var%.}
ITYM
var=${var%'
.'}
2008/7/1 pk <[EMAIL PROTECTED]>:
> On Tuesday 1 July 2008 05:22, Chris F.A. Johnson wrote:
>
>> var=${var%.}
>
> ITYM
>
> var=${var%'
> .'}
that would defeat the purpose of keeping the trailing newlines of
file, and would just be wrong if the file doesn't have a trailing
newline
On Tuesday 1 July 2008 09:51, Pierre Gaston wrote:
> 2008/7/1 pk <[EMAIL PROTECTED]>:
>> On Tuesday 1 July 2008 05:22, Chris F.A. Johnson wrote:
>>
>>> var=${var%.}
>>
>> ITYM
>>
>> var=${var%'
>> .'}
>
> that would defeat the purpose of keeping the trailing newlines of
> file, and would just be
Poor Yorick wrote:
In the following example, I expected the commands in the here-documents to be
interpreted in the current shell, but it seems they weren't. Is it my
misunderstanding, a feature, or a bug?
They're not interpreted in the current shell; in versions of bash up to
and including ba
Glynn Clements wrote:
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: i686-pc-linux-gnu-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DL