Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
3fb84bfc79949c145197c61fbf04ce18464e9112
/
.
/
generate_sen.sh
blob: 854c15b34f0099a09a6650d1b5715b3faa07e938 [
file
] [
log
] [
blame
]
#!/bin/sh -e
echo
'enum {'
echo
'SEN_printargs = 0,'
sed
-
r
-
n
'/printargs/! s/.*SEN\(([^)]+)\).*/\1/p'
|
sort
-
u
|
sed
's/.*/SEN_&,/'
echo
'};'