Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 306

Summary: dircolors: Unknown option --
Product: Gentoo Linux Reporter: Sandy McArthur <Sandy>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: Lowest    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sandy McArthur 2002-01-24 04:18:54 UTC
Despite what `man dircolors` says the dircolors from the fileutils-4.1.4 package
does not acutally support double hypen switches (eg: --sh). The file
/etc/skel/.bash_profile has the line: "eval `dircolors --sh`" which causes the
error "dircolors: Unknown option --" to be generated at every user login with
the default .bash_profile file. The fix is to use the '-b' switch instead which
means the same thing as '--sh'.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-24 12:17:50 UTC
Try remerging sys-apps/fileutils.  It *should* install 4.1.4-r1 by default,
which include the updated dircolors that supports zsh, etc.  This should also
install the updated manpage.

the skel files is my fault.  I forgot to update them after I updated dircolors.
Thanks!
Comment 2 Sandy McArthur 2002-01-24 15:04:02 UTC
yup, `emerge sys-apps/fileutils/` fixed the man page.