Mon 21 Jul 22:43:21 CEST 2025

This commit is contained in:
sbosse 2025-07-21 22:59:50 +02:00
parent 509f134ae5
commit fa84942c4c

12
js/x11/core/xproto2js.pl Normal file
View File

@ -0,0 +1,12 @@
# convert X protocol docline
# #x00000020 name
# to JS line
# name: x00000020
while(<>) {
my($line) = $_;
chomp($line);
if ($line =~ /(x[0-9]+)[ \t]+([^ ]+)/)
{
print "$2: 0$1,\n";
}
}