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