]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: Usage.itely - script example line breaks
authorJames Lowe <james.lowe@datacore.com>
Mon, 16 Aug 2010 14:30:16 +0000 (15:30 +0100)
committerGraham Percival <graham@percival-music.ca>
Mon, 16 Aug 2010 17:13:19 +0000 (18:13 +0100)
Script example is too long for a single line and causes information to
run of edge of PDF.

Split up script using trailing backslash onto multiple line

Documentation/usage/running.itely

index 5f0945c72583f966bec12596246e37b5e575fc4e..f661d8920185332857ebbe73729721f380c0b03a 100644 (file)
@@ -507,7 +507,10 @@ You can use @code{sed} to create the necessary copy commands for a given
 executable:
 
 @example
-for i in "/usr/local/lilypond/usr/bin/lilypond" "/bin/sh" "/usr/bin/; do ldd $i | sed 's/.*=> \/\(.*\/\)\([^(]*\).*/mkdir -p \1 \&\& cp -L \/\1\2 \1\2/' | sed 's/\t\/\(.*\/\)\(.*\) (.*)$/mkdir -p \1 \&\& cp -L \/\1\2 \1\2/' | sed '/.*=>.*/d'; done
+for i in "/usr/local/lilypond/usr/bin/lilypond" "/bin/sh" "/usr/bin/;  \
+  do ldd $i | sed 's/.*=> \/\(.*\/\)\([^(]*\).*/mkdir -p \1 \&\&  \
+    cp -L \/\1\2 \1\2/' | sed 's/\t\/\(.*\/\)\(.*\) (.*)$/mkdir -p  \
+      \1 \&\& cp -L \/\1\2 \1\2/' | sed '/.*=>.*/d'; done
 @end example
 
 @end itemize