~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to sql/add_errmsg

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
if test $# -ne 1
 
4
then
 
5
  echo "Copies # error messages from share/english/errmsg.txt to other message files"
 
6
  echo "Usage: $0 number_of_messages_to_copy"
 
7
  exit 1;
 
8
fi
 
9
 
 
10
FILE=/tmp/add.$$
 
11
tail -$1 share/english/errmsg.txt > $FILE
 
12
for i in `ls share/*/errmsg.txt | grep -v english`
 
13
do
 
14
  cat $FILE >> $i
 
15
done
 
16
rm $FILE
 
17