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 write
grep -oh -e @ref{
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
> #
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
LGTM.
https://codereview.appspot.com/324780043/
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel
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: "
#
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 source},@ref{Edizioni diverse da un
u