diff --git a/generate_sen.sh b/generate_sen.sh index 854c15b3..33d55392 100755 --- a/generate_sen.sh +++ b/generate_sen.sh @@ -3,6 +3,6 @@ echo 'enum {' echo 'SEN_printargs = 0,' sed -r -n '/printargs/! s/.*SEN\(([^)]+)\).*/\1/p' | - sort -u | + LC_COLLATE=C sort -u | sed 's/.*/SEN_&,/' echo '};'