Generate SEN numbers in a locale independent order
* generate_sen.sh: Sort SEN numbers using C collation rules.
This commit is contained in:
parent
7082acc0e3
commit
c1a0b67db5
@ -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 '};'
|
||||
|
Loading…
Reference in New Issue
Block a user