run.sh 267 B

1234567891011121314151617
  1. IN="$(mktemp --suffix .wc)"
  2. OUT_S="$(mktemp --suffix .s)"
  3. OUT="$(mktemp)"
  4. cat > "$IN"
  5. WC_I="/home/user/.wclib" wmc "$IN" "$OUT_S"
  6. if [ $? -eq 0 ]; then
  7. wma "$OUT_S" "$OUT"
  8. if [ $? -eq 0 ]; then
  9. SIZE="$(wc -c $OUT)"
  10. wm -j 32 -s "$SIZE" "$OUT"
  11. fi
  12. fi