Subject: /bin/sh and case and (*^*)
To: None <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 04/28/2006 15:12:46
On NetBSD 3.99.15, I saw an error like:
/usr/pkg/bin/git-fetch: 219: Syntax error: word unexpected (expecting ")")
The error was here:
case "$name" in
(*^*) continue ;;
Changing to /bin/ksh to run this continued fine. (I don't know if it works
though since I am just beginning using GIT).
I haven't seen a case pattern start with a open parenthesis before. Is
If so, should /bin/sh support it?
Jeremy C. Reed
p.s. I am update for wip/scmgit to commit.