Page 1 of 1

Debian Ref-Manual, Potential Update

Posted: 2017-05-16 11:41
by rayj
I am not sure what to do with this, it seems like an error.

https://www.debian.org/doc/manuals/debi ... d_commands

The content is:
9.2.7. Colorized commands
Colorized commands are handy for inspecting their output in the interactive environment. I include the following in my "~/.bashrc".

Code: Select all

if [ "$TERM" != "dumb" ]; then
    eval "`dircolors -b`"
When I applied this to my .bashrc, an error was flagged - no such command.

I replaced it with

Code: Select all

eval "$(dircolors -b)"
and it now works.

It did not seem appropriate to report it as a bug and I did not find anywhere to address such in the 'manual' section.

Any suggestions?

Re: Debian Ref-Manual, Potential Update

Posted: 2017-05-17 06:06
by debiman
there seems to be a lot of outdated stuff in the debian manual.
if you want to change it, great!
i guess you're going to have to do most of the work yourself; create accounts in appropriate places, file bug reports (against the manual that is, not against bash), idk.

Re: Debian Ref-Manual, Potential Update

Posted: 2017-05-17 06:21
by Head_on_a_Stick
Although the use of backticks is discouraged, bash will still accept them — are you sure that you typed it in correctly?

Re: Debian Ref-Manual, Potential Update

Posted: 2017-05-23 10:21
by rayj
It looks like a back tick.

Thank you