diff options
Diffstat (limited to 'TODO-private')
-rw-r--r-- | TODO-private | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/TODO-private b/TODO-private new file mode 100644 index 000000000..17248515c --- /dev/null +++ b/TODO-private @@ -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)/' |