Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147760

Summary: Security Handbook code example broken from \
Product: [OLD] Docs on www.gentoo.org Reporter: Caleb Cushing <xenoterracide>
Component: Other documentsAssignee: Xavier Neys (RETIRED) <neysx>
Status: RESOLVED FIXED    
Severity: normal CC: docs-team
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/security/security-handbook.xml?part=1&chap=6
Whiteboard:
Package list:
Runtime testing required: ---

Description Caleb Cushing 2006-09-15 19:36:52 UTC
example outputs
/usr/bin/find: paths must precede expression

I think the \ on line 1 needs to be removed. testing now.
Comment 1 Caleb Cushing 2006-09-15 19:45:45 UTC
confirmed. remove \ for line 1 this probably applies to listing 1 as well. maybe other sections on page. checking.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2006-09-16 13:42:55 UTC
\ is meant as line continuation character but a trailing space confuses your shell when cutting&pasting
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2006-09-16 13:48:57 UTC
Joind lines. Thanks for reporting
Comment 4 Caleb Cushing 2006-09-17 20:08:07 UTC
I'm reopening for  a related bug in the security handbook. the firewall init script in chapter 12 has several \ that wll cause the script to break if copied and pasted into a file. 
Comment 5 Xavier Neys (RETIRED) gentoo-dev 2006-09-18 02:24:57 UTC
ALl trailing spaces have been removed from security handbook files. Thanks.