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: John Cowan
Subject: Re: [Chicken-users] Save the Gazette!
Date: Thu, 17 Feb 2011 08:51:31 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

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.

-- 
"Well, I'm back."  --Sam        John Cowan <address@hidden>



reply via email to

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