]> rtime.felk.cvut.cz Git - edu/osp-wiki.git/commitdiff
Update projects clean script to work with English student page template.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Sat, 18 May 2013 20:15:34 +0000 (22:15 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Sat, 18 May 2013 20:15:34 +0000 (22:15 +0200)
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
student/prj-clean-pointers

index 89d69bd2350ac035dd446fd9bda0c33747866deb..c7df95b0a4e87514edf7189f157fe47b8e8ab6d6 100755 (executable)
@@ -4,6 +4,7 @@ for stud in * ; do
   if [ -d "$stud" ] ; then
     if true ; then
       sed --in-place \
+        -e '/^For example: <a href=.https:\/\/www.ohloh.net\/accounts\/9897?ref=Detailed.>$/d' \
         -e '/^Například: <a href=.https:\/\/www.ohloh.net\/accounts\/9897?ref=Detailed.>$/d' \
         -e '/^  <img alt=.Ohloh profile for Linus.Torvalds. height=.35. src=.https:\/\/www.ohloh.net\/accounts\/9897\/widgets\/account_detailed.gif. width=.191. \/>$/,+1d' \
         -e '/^\* \[Další relevantní odkazy dokládající mou práci...\](http:\/\/lwn.net\/Articles\/385586\/)$/d' \
@@ -11,16 +12,22 @@ for stud in * ; do
         -e '/^\* \[Odkaz na můj repozitář s aktuálním stavem mé práce...\](http:\/\/git.kernel.org\/?p=linux\/kernel\/git\/torvalds\/linux-2.6.git;a=summary)$/d' \
         -e '/^\* \[Odkazy na mou komunikaci s vývojáři v on-line archivech veřejných diskuzí...\](http:\/\/groups.google.com\/group\/comp.os.minix\/browse_thread\/thread\/e3df794a2bce97da.*$/d' \
         -e '/^\*\*Domovská stránka projektu:\*\* <http:\/\/www.example.com>$/d' \
+        -e '/^\* \[My communication with developers in a public mailing list archive\](http:\/\/groups.google.com\/group\/comp.os.minix\/browse_thread\/thread\/e3df794a2bce97da\/2194d253268b0a1b?#2194d253268b0a1b)$/d' \
+        -e '/^\* \[Version control repository with the actual state of my work\](http:\/\/git.kernel.org\/?p=linux\/kernel\/git\/torvalds\/linux-2.6.git;a=summary)/d' \
+        -e '/^\* \[My commit in the project repository\](http:\/\/git.kernel.org\/?p=linux\/kernel\/git\/torvalds\/linux-2.6.git;a=commit;h=ea90002b0fa7bdee86ec22eba1d951f30bf043a6)/d' \
+        -e '/^\* \[Additional supporting material\](http:\/\/lwn.net\/Articles\/385586\/)/d' \
         "$stud/index.mdwn"
     fi
     if [ ! -e "$stud/prezentace1.pdf" ] ; then
       sed --in-place \
         -e '/^\* ..Prezentace záměru práce ve formátu PDF nebo OpenDocument ("Attachment" k této stránce).prezentace1.pdf..$/d' \
+        -e '/^\* ..Presentation of the aim of my work in PDF or OpenDocument format (upload it as an .Attachment. to this page).prezentace1.pdf..$/d' \
         "$stud/index.mdwn"
     fi
     if [ ! -e "$stud/prezentace2.pdf" ] ; then
       sed --in-place \
         -e '/^\* ..Prezentace výsledku práce.prezentace2.pdf..$/d' \
+        -e '/^\* ..Presentation of the results of my work.prezentace2.pdf..$/d' \
         "$stud/index.mdwn"
     fi
   fi