Re: help with bash script to translate @ref{} items in translated manuals

2017-04-20 Thread Federico Bruni
Il giorno gio 20 apr 2017 alle 11:22, k...@aspodata.se ha scritto: Frederico Bruni: ... Enter Documentation/it/notation and run this: #!/bin/bash LIST="$(grep -oh -e @ref{.*} *.itely | sort -u)" for i in $LIST; do echo $i #echo -n "Replace" $i "with the translated node: " #

Re: help with bash script to translate @ref{} items in translated manuals

2017-04-20 Thread Federico Bruni
Il giorno ven 21 apr 2017 alle 7:08, Federico Bruni ha scritto: I guess I'll have to revert to my almost manual replacement I've used so far. Or I may try a different approach and script a replacement from a file like: @ref{Different editions from one

Re: help with bash script to translate @ref{} items in translated manuals

2017-04-20 Thread Andrew Bernard
Hi All, All good answers, but so much easier in perl! Andrew ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: help with bash script to translate @ref{} items in translated manuals

2017-04-20 Thread karl
Frederico Bruni: ... > Enter Documentation/it/notation and run this: > > #!/bin/bash > LIST="$(grep -oh -e @ref{.*} *.itely | sort -u)" > for i in $LIST; do > echo $i > #echo -n "Replace" $i "with the translated node: " > #read NODE > #if $NODE=""; then exit > #else > #

Re: Fix not scaling stem in note-by-number-markup (issue 324780043 by thomasmorle...@gmail.com)

2017-04-20 Thread david . nalesnik
LGTM. https://codereview.appspot.com/324780043/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

help with bash script to translate @ref{} items in translated manuals

2017-04-20 Thread Federico Bruni
Hi all I recently realized that @ref{} links should be translated otherwise PDF links are broken (while HTML files still work fine without @ref{} translated). Yesterday I started to manually translate all the @ref{} instances in the italian web, usage and learning manuals. Now I've come to

Re: help with bash script to translate @ref{} items in translated manuals

2017-04-20 Thread David Kastrup
Federico Bruni writes: > #!/bin/bash > LIST="$(grep -oh -e @ref{.*} *.itely | sort -u)" > for i in $LIST; do This splits $LIST at separators contained in the shell variable IFS . One can temporarily override it to just split on newlines, but it is more straightforward to