On Wed, Oct 10, 2012 at 11:26:09AM +0200, Davidlohr Bueso wrote: > On Wed, 2012-10-10 at 11:19 +0200, Karel Zak wrote: > > On Wed, Oct 10, 2012 at 09:44:05AM +0200, Ondrej Oprala wrote: > > > new file mode 100644 > > Hehe I actually started doing this last night. > > I'm wondering if we actually need a new lib file for colors. I mean > AFAICT, dmesg is the only place we want to use it and I don't see that What about fdisk where we have many dialogs, warnings, hints? :-) It's not about colors only, but also about bold, etc. The another possibility is namei(1) where we can provide output compatible with ls(1), or cal(1), etc. > changing any time soon - Unix hackers don't like colors, we live oh so > boring lives :) All this should be optional. I guess than many people use aliases with colors $ alias | grep color alias egrep='egrep --color=tty' alias fgrep='fgrep --color=tty' alias grep='grep --color=tty' alias l.='ls -d .* --color=auto' alias ll='ls -l --color=auto' alias ls='ls --color=auto' Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html