$ pnmindex Unknown colorls variable `do'. Segmentation fault Some googling revealed this as a bug in some shells processing of DIR_COLORS DOORS. The above link claims to be a patch for this behaviour, although I have not tried it.
p.s. - the workaround was just to delete DOORS from DIR_COLORS :)
Works fine here. BTW, what shell ... ?
Using bash as my shell. GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu) Not certain what pnmindex is invoking. I *have* added some file extensions to DIR_COLORS, but nowhere in that area.
Oh. I'm a little slow. Direct from sleepdeprived.org "Here is a small patch for fileutils 4.1's dircolors to prevent tcsh and possibly other shells from bombing or complaining on startup due to the color code for "doors" (the Unknown colorls variable `do'. error) - added 30.Jul.2001"
hmm, that patch basically comments out the door thing, which I'm not comfortable doing to coreutils. I'd rather find a fix for tcsh.
root@vapier 0 groff # pnmindex usage: /usr/bin/pnmindex [-size N] [-across N] [-colors N] [-black] pnmfile ... seems to be fixed now; please re-open if it is not