quoth the Antonio Souto: > I am having a strange problem: every time I try to run the script tcupdate > ( http://gentooexperimental.org/archive/tcupdate/tcupdate-0.2.2.0) > I get the error: > > sed: -e expression #1, char 127: unterminated `s' command > > It works ok at my lab, but not on my PC at home! > I have already reemerged sed, and even done an emerge world -e, > with no results. > > Sorry to bother, but it is odd and I can't figure out what is wrong. > The script used to work and stopped working. > Apparently sed changed it's behavior. > It is scary when things like sed stops working...
I was playing around with this, and it seems to be working fine for me. Are
you using two different versions of sed? Any major differences between the
two systems? Identical scripts?
In any event, all the sed statement does is colourize the help output, so if
you just want the script to work you can change this line (line 94):
cat <<END | help_fmt
to:
cat <<END
and it should work just fine for you. (I think ;))
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
pgpQGOwFaoREA.pgp
Description: PGP signature

