Hello Last year, I asked how to write command lines to keep doing several things that were done easily usind command lines when the whole Apertium project was in different subdirectories of a big subversion repository.
These commands worked up to the last 8th of February. Then, due to a HTML format change, at least one of then (the one to chech Apertuim branches) stopped working and needed to be rewritten. Previous command line working since last year up to 10 day ago : #!/bin/sh wget -q https://github.com/apertium/apertium-$1/blob/master/.gitmodules fgrep "path =" .gitmodules | sed "s/.*path = // s/<\/td>//" | sort rm .gitmodules* New command-line ding the same thing now : #!/bin/sh motifsed='<span class="pl-e">' wget -q https://github.com/apertium/apertium-$1/blob/master/.gitmodules fgrep "submodule" .gitmodules | sed "s/.*$motifsed// s/<\/span>.*//" | sort rm .gitmodules* Note : $motifsed could be used also as a selection string in fgrep line, but last year, I was asked tu fetch "path =" or "submodule" keyword. My question : has the change of .gitmodule HTML format be done by some Apertium members, or by github member or .... And what do you think about the possibility to use the same command-line during years whithout having to change it too often ? <signaturebeforequotedtext></signaturebeforequotedtext><signatureafterquotedtext></signatureafterquotedtext>
_______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff