Home | History | Annotate | Line # | Download | only in doc
      1 #! /usr/bin/sed -f
      2 #
      3 # each line of the form ^.. .* contains the code for a language.
      4 #
      5 /^.. / {
      6   h
      7   s/^.. \(.*\)/\1./
      8   x
      9   s/^\(..\).*/@item \1/
     10   G
     11   p
     12 }
     13 #
     14 # delete the rest
     15 #
     16 d
     17