The behavior should be the same with any POSIX compatible shell. I was able to reproduce it with /usr/bin/bash, /sbin/sh, and /usr/bin/ksh on Solaris 10. The crucial factor is that a file with a matching name must exist in the current directory. This example used /usr/bin/bash:
$ mkdir example $ cd example $ echo [Pango] # works fine without any matching files [Pango] $ touch a $ echo [Pango] # now it no longer works as desired a $ echo "[Pango]" # quoted version works as desired [Pango] Alfred Peng wrote: > Hi Michael, > > Tried to run "echo [pango]" with /usr/bin/bash and /sbin/sh on Solaris > 10. Both return the result "[pango]". Anyway, I think it's fine to > update the line in run-mozilla.sh to: > > echo "[Pango]" > $HOME/.mozilla/firefox/etc/pango/pangorc > > Just curious which shell are you using that has the problem? > > Thanks, > -Alfred > > Michael T. Sullivan wrote: >> The run-mozilla.sh distributed in >> firefox-3.0.6.en-US.solaris-10-fcs-i386.tar.bz2 >> contains a bug: The argument [Pango] should be quoted in the line: >> >> echo [Pango] > $HOME/.mozilla/firefox/etc/pango/pangorc >> >> Otherwise the shell treats it as a wildcard and matches any files in >> the current directory having a name consisting of any one of the >> single characters 'P', 'a', 'n', 'g', or 'o' and that name gets >> written to the pangorc file instead of "[Pango]". >> >> Best Regards, >> >> Michael T. Sullivan | e-mail: mike at trdlnk.com >> TradeLink L.L.C. | voice: +1 312 264 2033 >> 71 S. Wacker, Suite 1900 | fax: +1 312 264 2001 >> Chicago, Illinois 60606 USA | >> >> _______________________________________________ >> desktop-discuss mailing list >> desktop-discuss at opensolaris.org
