Skip to content

Instantly share code, notes, and snippets.

@urbanecm
Created January 7, 2017 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urbanecm/d5586d7b20e857f5b84d8d9465cfaa7d to your computer and use it in GitHub Desktop.
Save urbanecm/d5586d7b20e857f5b84d8d9465cfaa7d to your computer and use it in GitHub Desktop.
Add references
python ~/pwb/scripts/replace.py -regex "==(=*) *Literatura *==(=*)" "==\1 Reference ==\2\n<references />\n\n\0" -excepttext:"Reference" -summary:'Robot: Přidání sekce reference' -start:!
python ~/pwb/scripts/replace.py -regex "==(=*) *Související články *==(=*)" "==\1 Reference ==\2\n<references />\n\n\0" -excepttext:"Reference" -summary:'Robot: Přidání sekce reference' -start:!
python ~/pwb/scripts/replace.py -regex "==(=*) *Související stránky *==(=*)" "==\1 Reference ==\2\n<references />\n\n\0" -excepttext:"Reference" -summary:'Robot: Přidání sekce reference' -start:!
python ~/pwb/scripts/replace.py -regex "==(=*) *Externí odkazy *==(=*)" "==\1 Reference ==\2\n<references />\n\n\0" -excepttext:"Reference" -summary:'Robot: Přidání sekce reference' -start:!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment