#!/bin/sh for stud in * ; do if [ -d "$stud" ] ; then if true ; then sed --in-place \ -e '/^For example: $/d' \ -e '/^Například: $/d' \ -e '/^ .Ohloh$/,+1d' \ -e '/^\* \[Další relevantní odkazy dokládající mou práci...\](http:\/\/lwn.net\/Articles\/385586\/)$/d' \ -e '/^\* \[Odkazy na mé commity v repozitáři projektu...\](http:\/\/git.kernel.org\/?p=linux\/kernel\/git\/torvalds\/linux-2.6.git;a=commit;h=ea90002b0fa7bdee86ec22eba1d951f30bf043a6)$/d' \ -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:\*\* $/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' \ -e '/^\* \[\[Example\] 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 '/^\* \[\[Example\] 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 '/^\* \[\[Example\] 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 '/^\* \[\[Example\] Additional supporting material\](http:\/\/lwn.net\/Articles\/385586\/)$/d' \ -e '/.*$/d' \ -e '/^$/,/^<\/a>$/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 done