bug-bash
[Top][All Lists]
Advanced

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

Re: some variable level issues


From: Pierre Gaston
Subject: Re: some variable level issues
Date: Tue, 1 Jul 2008 10:51:02 +0300

2008/7/1 pk <address@hidden>:
> 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




reply via email to

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