New Immissions/Updates:
boundless - educate - edutalab - empatico - es-ebooks - es16 - fr16 - fsfiles - hesperian - solidaria - wikipediaforschools
- wikipediaforschoolses - wikipediaforschoolsfr - wikipediaforschoolspt - worldmap -

See also: Liber Liber - Libro Parlato - Liber Musica  - Manuzio -  Liber Liber ISO Files - Alphabetical Order - Multivolume ZIP Complete Archive - PDF Files - OGG Music Files -

PROJECT GUTENBERG HTML: Volume I - Volume II - Volume III - Volume IV - Volume V - Volume VI - Volume VII - Volume VIII - Volume IX

Ascolta ""Volevo solo fare un audiolibro"" su Spreaker.
CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
User:Shizhao/脚本帮助 - Wikipedia

User:Shizhao/脚本帮助

维基百科,自由的百科全书

[编辑] 脚本功能

请解释一下你的脚本文件的功能如何?我看不太懂--Shizhao 11:10 2003年12月1日 (UTC)

就是把指定文章保存下来而已,直接敲命令不加参数可以显示帮助。这里有几个例子:
 0$ ./wpget.sh #这个命令显示帮助
 Usage: ./wpget.sh [OPTION]... PAGES [OUPUT FILE]
 zh.wikipedia.org article export tool
 Example: ./wpget.sh -G "user:xyb" xyb.xml
 Options:
   -a            all version
   -L            list all languages
   -l LANGUAGE
   -o FILE       output to FILE
   -p PASSWORD
   -u USERNAME
   -B            output BIG5 file (for language zh)
   -G            output GB2312 file (for language zh)
   -U            output UTF-8 file (Default)
 1$ ./wpget.sh -G "user:xyb" xyb.xml # 这个命令把我的用户页存成指定的xyb.xml(转成简体)
 0$ ls -l
 总用量 13
 drwxr-xr-x    2 xyb      xyb           128 2003-12-01 18:59 CVS
 -rwxr-xr-x    1 xyb      xyb           133 2003-11-26 16:38 htmlunesc
 -rwxr-xr-x    1 xyb      xyb          2570 2003-12-01 18:59 wpget.sh
 -rw-r--r--    1 xyb      xyb           382 2003-12-01 19:56 xyb.gb.xml
 0$ ./wpget.sh -G "user:xyb" # 这个不指定要保存的文件名
 0$ ls -l
 总用量 17
 drwxr-xr-x    2 xyb      xyb           128 2003-12-01 18:59 CVS
 -rwxr-xr-x    1 xyb      xyb           133 2003-11-26 16:38 htmlunesc
 -rw-r--r--    1 xyb      xyb           382 2003-12-01 19:56 user-xyb.zh.gb.xml
 -rwxr-xr-x    1 xyb      xyb          2570 2003-12-01 18:59 wpget.sh
 -rw-r--r--    1 xyb      xyb           382 2003-12-01 19:56 xyb.gb.xml
 0$ ./wpget.sh -GBU google # 这个保存google成简体、繁体和UTF8三种编码的文件
 0$ ls -l
 总用量 37
 drwxr-xr-x    2 xyb      xyb           128 2003-12-01 18:59 CVS
 -rw-r--r--    1 xyb      xyb          3779 2003-12-01 19:57 google.zh.big5.xml
 -rw-r--r--    1 xyb      xyb          4573 2003-12-01 19:57 google.zh.gb.xml
 -rw-r--r--    1 xyb      xyb          6085 2003-12-01 19:57 google.zh.utf8.xml
 -rwxr-xr-x    1 xyb      xyb           133 2003-11-26 16:38 htmlunesc
 -rw-r--r--    1 xyb      xyb           382 2003-12-01 19:56 user-xyb.zh.gb.xml
 -rwxr-xr-x    1 xyb      xyb          2570 2003-12-01 18:59 wpget.sh
 -rw-r--r--    1 xyb      xyb           382 2003-12-01 19:56 xyb.gb.xml
 0$ ./wpget.sh -l en google # 这个保存英文wikipedia上的google
 0$ ls -l
 总用量 53
 drwxr-xr-x    2 xyb      xyb           128 2003-12-01 18:59 CVS
 -rw-r--r--    1 xyb      xyb         13181 2003-12-01 19:58 google.en.utf8.xml
 -rw-r--r--    1 xyb      xyb          3779 2003-12-01 19:57 google.zh.big5.xml
 -rw-r--r--    1 xyb      xyb          4573 2003-12-01 19:57 google.zh.gb.xml
 -rw-r--r--    1 xyb      xyb          6085 2003-12-01 19:57 google.zh.utf8.xml
 -rwxr-xr-x    1 xyb      xyb           133 2003-11-26 16:38 htmlunesc
 -rw-r--r--    1 xyb      xyb           382 2003-12-01 19:56 user-xyb.zh.gb.xml
 -rwxr-xr-x    1 xyb      xyb          2570 2003-12-01 18:59 wpget.sh
 -rw-r--r--    1 xyb      xyb           382 2003-12-01 19:56 xyb.gb.xml
 --Xyb 12:07 2003年12月1日 (UTC)
是在linux下使用吗?win下能用吗?--Shizhao 12:49 2003年12月1日 (UTC)
要在 linux 底下使用才行,不过在 windows 里装上 cygwin 也可以模拟 linux 的环境。这个脚本还需要系统中装有 curl。--Xyb 13:14 2003年12月1日 (UTC)

Static Wikipedia (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2006 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia February 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu