chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Save the Gazette!


From: Alex Shinn
Subject: Re: [Chicken-users] Save the Gazette!
Date: Thu, 17 Feb 2011 23:33:56 +0900

On Thu, Feb 17, 2011 at 10:51 PM, John Cowan <address@hidden> wrote:
> Andy Bennett scripsit:
>
>> Strange! The first part of the first sed is supposed to remove the '*'
>> that indicates the currently checked out branch.
>
> The meaning of the regex /^*/ is implementation-dependent: it can be
> read as "remove any number of hats, including zero" or "remove a star at
> the beginning of the line".  It's safer to disambiguate these as /\^*/
> and /^\*/ respectively.

Or replace every use of sed and awk with perl, which
is consistent across all platforms and scales better.

-- 
Alex



reply via email to

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