On Saturday 06 of June 2009 06:13:04 Joshua Rodman wrote: > Buh buh buh -- the recommended sed does not work.
Thanks for pointing this out. Which recommendation did you follow? The one in the NEWS file? Did you try exactly this? $ 'eval `dircolors | sed s/hl=[^:]*:/hl=:/` Which shell are you using? > jrod...@calufrax:~/rc/bash >dircolors ~/rc/dir_colors |grep hl # no hl Yes, because your file ~/rc/dir_colors does not contain any color definition for hard link. Try to add the following line to that file, it should solve your problem: HARDLINK 00 > present jrod...@calufrax:~/rc/bash >dircolors ~/rc/dir_colors |sed > s/hl=[^:]*:/hl=:/ Then you actually no more need sed, next command should be sufficient: $ eval `dircolors ~/rc/dir_colors` > I'm unclear whether dir_colors will sometimes spit out an hl value. > Having a colorization occur that isn't even in LS_COLORS is unfortunate. I think we should improve documentation a bit. It is not only about hard links. Some people may also want to disable file capabilities highlighting, etc. Pádraig, what do you think? Kamil _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils