I would not rely on the private/internal HTML formatting of GitHub.com (or almost any website really).
If you want to download the content of that file itself, checking the raw version will get you exactly what you want and is not subject to any changes. For example: https://raw.githubusercontent.com/apertium/apertium-incubator/master/.gitmodules You can also use the new packages listing that stats-service provides: http://apertium.projectjj.com/stats-service/packages Documentation here: http://apertium.projectjj.com/stats-service/ Hopefully this helps! [image: Sushain Cherivirala] *Sushain K. Cherivirala * Stanford University, M.S. in Computer Science '19 Carnegie Mellon University, B.S. in Computer Science '18 (713) 992-4043 | www.skc.name On Sun, Feb 17, 2019 at 1:48 PM Chardonneau Bernard < bernard.chardonn...@ac-montpellier.fr> wrote: > 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 ? > _______________________________________________ > Apertium-stuff mailing list > Apertium-stuff@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/apertium-stuff >
_______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff