• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

wwww


Commit MetaInfo

修訂291ffe526f0aad4ffe8b6570a9d24636eae40205 (tree)
時間2016-07-19 22:57:37
作者sparky4 <sparky4@cock...>
Commitersparky4

Log Message

wwww 16.exe polished wwww and x4get.bat updated to handle more than 10 parts... needs through testingls -lat wwww

Change Summary

差異

--- a/x4get.bat
+++ b/x4get.bat
@@ -1,5 +1,7 @@
11 @echo off
2-del %*
2+iff exist %* then
3+ del %*
4+endiff
35 setlocal
46 set url="4ch.mooo.com/16"
57 rem for %@eval[%#+1] in (%*) do (
@@ -13,17 +15,32 @@ rem for %# in (1,1,%*) do (
1315 set /a o=%o+1
1416 set y=%w.z%o
1517 rem echo y=%y
16- htget http://%url/%1.zip.00%o > %y
18+ if %o lt 100 (
19+ if %o lt 10 (
20+ set q=00%o
21+ ) else (
22+ set q=0%o
23+ ) endif
24+ ) else if %o gt 99 (
25+ set q=%o
26+ ) endif
27+
28+ htget http://%url/%1.zip.%q > %y
29+
1730 rem pause
18- type %y >> %w.zip
31+ iff exist %y then
32+ type %y >> %w.zip
33+ endiff
1934 iff "%@FILESIZE[%y,b]" == "65536" then
2035 rem echo o=%o
2136 goto oooo
2237 endiff
2338 iff NOT "%#" == "0" then
2439 shift /1
25- unzip %w.zip
26- del %w.z*
40+ iff exist %w.zip then
41+ unzip %w.zip
42+ del %w.z*
43+ endiff
2744 goto loop
2845 endiff
2946 endiff