Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17446 - desktop.xml mentions #'/n' instead of $'\n'
Summary: desktop.xml mentions #'/n' instead of $'\n'
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Desktop Configuration Guide (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-13 12:04 UTC by Sven Vermeulen (RETIRED)
Modified: 2003-03-13 22:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2003-03-13 12:04:52 UTC
Seems strange to see # in the following command which is mentioned in desktop.xml:

"""
<c>echo $'/n'mousedev $'/n'hid #'/n'usbcore $'/n'input >> /etc/modules.autoload</c>
"""

I think this should be (note that the / is transformed to \):

"""
<c>echo $'\n'mousedev $'\n'hid $'\n'usbcore $'\n'input >> /etc/modules.autoload</c>
"""

This because the first command, executed in bash, gives:

"""
$ echo $'/n'mousedev #'/n'hid $'/n'usbcore $'/n'input
/nmousedev
"""

and the second (proposed):

"""
$ echo $'\n'mousedev $'\n'hid $'\n'usbcore $'\n'input

mousedev 
hid 
usbcore 
input
"""




Reproducible: Always
Steps to Reproduce:
Comment 1 Jorge Paulo (RETIRED) gentoo-dev 2003-03-13 22:12:20 UTC
Corrected new line escape sequence.