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 <co...@ccil.org>

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

Reply via email to