diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:07:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:07:14 +0000 |
commit | a175314c3e5827eb193872241446f2f8f5c9d33c (patch) | |
tree | cd3d60ca99ae00829c52a6ca79150a5b6e62528b /sql/add_errmsg | |
parent | Initial commit. (diff) | |
download | mariadb-10.5-upstream/1%10.5.12.tar.xz mariadb-10.5-upstream/1%10.5.12.zip |
Adding upstream version 1:10.5.12.upstream/1%10.5.12upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sql/add_errmsg')
-rwxr-xr-x | sql/add_errmsg | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/add_errmsg b/sql/add_errmsg new file mode 100755 index 00000000..86226926 --- /dev/null +++ b/sql/add_errmsg @@ -0,0 +1,17 @@ +#!/bin/sh + +if test $# -ne 1 +then + echo "Copies # error messages from share/english/errmsg.txt to other message files" + echo "Usage: $0 number_of_messages_to_copy" + exit 1; +fi + +FILE=/tmp/add.$$ +tail -$1 share/english/errmsg-utf8.txt > $FILE +for i in `ls share/*/errmsg-utf8.txt | grep -v english` +do + cat $FILE >> $i +done +rm $FILE + |