Debian Ref-Manual, Potential Update

News and discussion about development of the Debian OS itself

Debian Ref-Manual, Potential Update

Postby rayj » 2017-05-16 11:41

I am not sure what to do with this, it seems like an error.

https://www.debian.org/doc/manuals/debian-reference/ch09.en.html#_colorized_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?
rayj
 
Posts: 53
Joined: 2015-08-16 23:06

Re: Debian Ref-Manual, Potential Update

Postby debiman » 2017-05-17 06:06

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.
Last edited by debiman on 2017-05-18 05:41, edited 1 time in total.
User avatar
debiman
 
Posts: 1511
Joined: 2013-03-12 07:18

Re: Debian Ref-Manual, Potential Update

Postby Head_on_a_Stick » 2017-05-17 06:21

Although the use of backticks is discouraged, bash will still accept them — are you sure that you typed it in correctly?
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6666
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian Ref-Manual, Potential Update

Postby rayj » 2017-05-23 10:21

It looks like a back tick.

Thank you
rayj
 
Posts: 53
Joined: 2015-08-16 23:06


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable