projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Prepared a system to internationalize the WinBoard menus
[xboard.git]
/
winboard
/
metascript.txt
diff --git a/winboard/metascript.txt
b/winboard/metascript.txt
new file mode 100644
(file)
index 0000000..
63de32d
--- /dev/null
+++ b/
winboard/metascript.txt
@@ -0,0
+1,13
@@
+1,$g/""/d
\r
+1,$g/^[^"]*$/d
\r
+1,$g/\\/s//&&/g
\r
+1,$g/&[^"]*"$/s//\\&/
\r
+1,$s/===/\/s\/\//
\r
+1,$s/$/\/gp/
\r
+1,$s/^/1,$g\//
\r
+$a
\r
+w tmp.rc
\r
+q
\r
+.
\r
+w script.txt
\r
+q
\r