• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh -e
2
3echo 'enum {'
4echo 'SEN_printargs = 0,'
5    sed -r -n '/printargs/! s/.*SEN\(([^)]+)\).*/\1/p' |
6    LC_COLLATE=C sort -u |
7    sed 's/.*/SEN_&,/'
8echo '};'
9