I don't see this reported anywhere yet, and I'm surprised. Apologies if I just missed something.
You have to quote arguments inside [ ] or bad things(tm) happen. In particular, without the below patch, rxvt is unable to run /bin/sh as a login shell and flashes a warning on the screen. Please apply for next lilypond release. cgf --- lilypond-profile.sh~ 2003-10-10 23:46:14.000000000 -0400 +++ lilypond-profile.sh 2003-10-10 23:47:02.000000000 -0400 @@ -19,7 +19,7 @@ return 2 fi -if [ `basename "$0"` = "lilypond-profile" ] ; then +if [ "`basename \"$0\"`" = "lilypond-profile" ] ; then cat >/dev/stderr <<EOF Error: This script cannot be run in a subshell; it MUST be sourced. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/