Commits

Xu Xiaodong committed c593736

update mtc

  • Participants
  • Parent commits 01e63e7

Comments (0)

Files changed (2)

mt

-#!/bin/sh
-#
-# author:    Xu Xiaodong <xxdlhy@gmail.com>
-# modified:  2011 Aug 12
-#
-
-SRC=$1
-OUT=$2
-
-./modup "$SRC" | sort > "$OUT"
-
-# vim: ai:et:ts=2:sw=2:sts=2:tw=78:ft=sh
+#!/bin/sh
+#
+# author:    Xu Xiaodong <xxdlhy@gmail.com>
+# modified:  2011 Aug 12
+#
+
+SRC=$1
+
+for local in bj sh gd js; do
+  DIR="$SRC"/ubox_"$local" 
+
+  if [ -d "$DIR" ]; then
+    ./modup "$DIR" | sort > "$local"
+  fi
+done
+
+# vim: ai:et:ts=2:sw=2:sts=2:tw=78:ft=sh