]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 31 Aug 2002 09:02:09 +0000 (09:02 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 31 Aug 2002 09:02:09 +0000 (09:02 +0000)
TODO-private [new file with mode: 0644]

diff --git a/TODO-private b/TODO-private
new file mode 100644 (file)
index 0000000..1724851
--- /dev/null
@@ -0,0 +1,47 @@
+Move things so there are no symlinks from repository to
+any directory other than common
+
+******************
+LINGUAS:
+  sort -u ../[fst]u/po/LINGUAS > po/LINGUAS
+
+go cu
+cd po
+for i in f s t; do
+  echo $i:
+  xu=${i}u
+  for j in $(cat ../../$xu/po/LINGUAS); do
+    echo "  $j"
+    msgmerge -o k ../../$xu/po/$j.po $j.po && mv k $j.po
+  done
+done
+
+go cu; cd po; export xu=tu j=zh_TW
+go cu; cd po; export xu=su j=ru
+go cu; cd po; export xu=fu j=zh_TW
+go cu; cd po; export xu=tu j=fr
+go cu; cd po; export xu=su j=tr
+msgmerge -o k ../../$xu/po/$j.po $j.po && mv k $j.po
+cvs ci -m 'merge from sh-utils-2.0.15' $j.po
+
+change `error (1, ...' to `error (EXIT_FAILURE, ...'
+grep -lF 'error (1' *.c|xargs \
+  perl -pi -e 's/\berror \(1,/error (EXIT_FAILURE,/'
+
+Not sure the following is a good idea, since error doens't
+ever exit successfully...
+
+  grep -lF 'error (0,' *.c|xargs \
+    perl -pi -e 's/\berror \(0,/error (EXIT_SUCCESS,/'
+
+Also handle exit and usage.
+
+grep -lE '\bexit \(0\)' *.c \
+  | xargs perl -pi -e 's/\bexit \(0\)/exit (EXIT_SUCCESS)/'
+grep -lE '\bexit \(1\)' *.c \
+  | xargs perl -pi -e 's/\bexit \(1\)/exit (EXIT_FAILURE)/'
+
+fix diagnostic in printf: should be: too few args
+
+grep -lE '\busage \(1\)' *.c \
+  | xargs perl -pi -e 's/\busage \(1\)/usage (EXIT_FAILURE)/'