Attachment 'license-filter.sed.txt'

Download

   1 s/\r//
   2 1,5s/^#.*//
   3 /^##.*/d
   4 s/<<\(Anchor\|TableOfContents\)(.*)>>//g
   5 s/{{{#!.*//g
   6 s/\({{{\|}}}\|~[-+]\|[-+]~\)//g
   7 ### Drop links ###
   8 s/\[\+\(wiki\|http\|https\|irc\|ftp\):[^]]\+\]\+//g
   9 s/\[\+[\[\:"][^]]\+]\+//g
  10 s,http://[^ ]*,,g
  11 s/[^!]\([A-Z][a-z0-9]\+\)\{2,\}//g
  12 s/{{\(attachement\|inline\):[^}]\+}}/$$attachement/g
  13 s/\(attachement\|inline\):[^ ]\+/$$attachement/g
  14 ### Variable words
  15 s/\(Sid\|Squeeze\|Lenny\|Etch\|Sarge\|Woody\|Potato\|Unstable\|Testing\|OldStable\|Old-Stable\|Stable\)/$$DIST/gI
  16 s/[0-9]\.[0-9]\+[^ ]*/$$VERSION/g
  17 ### Drop format ###
  18 s/^=* \(.*\) =*$/\1/
  19 s/'[']\+//g
  20 s/~-\(.*\)-~/\1/g
  21 s/^[[:blank:]]*[\$#%]\+//
  22 #  normalise lists
  23 s/^\s*\([0-9]\+\.\|\*\)\s*/ * /g
  24 #  drop smileys
  25 s,\(<!>\|{\(i\|ok\|OK\|X\|!\|\*\|x\|o\|O\)}\|[;\:]-\?[(|)]\|(\(\.\/\|!\))\|/!\\\|X-(\),,g
  26 s/||<[^>]*>/||/g
  27 s/||/\r/g
  28 /^-\{4,\}/d
  29 ### Dummy lines ###
  30 s/Tra\(nslation\|duction\)\((s)\|s\)\?:\?//
  31 s/([[:blank:];,]*)//g
  32 sX^[[:blank:];,\./\*]*$XX
  33 s/[[:blank:][:punct:]]\+$//g
  34 s/^\([[:blank:]\*]*\(see also\|see\|and\|or\|links\?\|[[:punct:]]\)\)\+$//I
  35 #Drop empty lines
  36 #/^[[:blank:]]*$/d
  37 s/\r/\n/g
  38 

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-04-14 06:13:36, 1.1 KB) [[attachment:license-filter.sed.txt]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.