On Thu, Feb 17, 2011 at 10:51 PM, John Cowan <co...@mercury.ccil.org> 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

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to