Board logo

标题: [工具合集] MinGW/msys/1.0/bin 中的命令行工具 [打印本页]

作者: CrLf    时间: 2013-7-24 02:20     标题: MinGW/msys/1.0/bin 中的命令行工具

本帖最后由 CrLf 于 2013-8-5 00:45 编辑

类似 cygwin 的东东,好处是兼容性更好,用它在 mingw 环境下编译出来的 gnu for win 工具是单文件版,而且体积非常小!工具没 cygwin 那么多,但该有的似乎都有了,所以二者相比较建议优先使用 msys_bin 里的工具,其他差异暂不了解。
打包发上来,省得大家去安装了,建议将解压路径附加到 path 末尾以便直接调用
测试了下 bash.exe,相当正常,比 cygwin 的那个 bash.exe 好用,其他工具只简单取样测试了下,暂未发现与 for win 的版本有何区别
百度网盘下载地址,其中含有的 180 个命令与 dll 依赖关系如下:
  1. a2p.exe msys-1.0.dll
  2. autogen.exe msys-1.0.dll msys-guile-17.dll msys-opts-25.dll msys-regex-1.dll
  3. awk.exe msys-1.0.dll msys-intl-8.dll
  4. basename.exe msys-1.0.dll msys-intl-8.dll
  5. bash.exe msys-1.0.dll msys-regex-1.dll msys-termcap-0.dll
  6. bc.exe
  7. bison.exe msys-1.0.dll msys-intl-8.dll
  8. bunzip2.exe msys-1.0.dll msys-bz2-1.dll
  9. bzcat.exe msys-1.0.dll msys-bz2-1.dll
  10. bzip2.exe msys-1.0.dll msys-bz2-1.dll
  11. bzip2recover.exe msys-1.0.dll
  12. cat.exe msys-1.0.dll msys-intl-8.dll
  13. chgrp.exe msys-1.0.dll msys-intl-8.dll
  14. chmod.exe msys-1.0.dll msys-intl-8.dll
  15. chown.exe msys-1.0.dll msys-intl-8.dll
  16. chroot.exe msys-1.0.dll msys-intl-8.dll
  17. cksum.exe msys-1.0.dll msys-intl-8.dll
  18. cmp.exe msys-1.0.dll msys-intl-8.dll
  19. columns.exe msys-1.0.dll msys-opts-25.dll
  20. comm.exe msys-1.0.dll msys-intl-8.dll
  21. cp.exe msys-1.0.dll msys-intl-8.dll
  22. csplit.exe msys-1.0.dll msys-intl-8.dll
  23. cut.exe msys-1.0.dll msys-intl-8.dll
  24. cvs.exe msys-1.0.dll msys-crypt-0.dll msys-intl-8.dll
  25. d2u.exe msys-1.0.dll msys-intl-8.dll
  26. date.exe msys-1.0.dll msys-intl-8.dll
  27. dd.exe msys-1.0.dll msys-intl-8.dll
  28. df.exe msys-1.0.dll msys-intl-8.dll
  29. diff.exe msys-1.0.dll msys-intl-8.dll
  30. diff3.exe msys-1.0.dll msys-intl-8.dll
  31. diffstat.exe msys-1.0.dll
  32. dir.exe msys-1.0.dll msys-intl-8.dll
  33. dircolors.exe msys-1.0.dll msys-intl-8.dll
  34. dirname.exe msys-1.0.dll msys-intl-8.dll
  35. dos2unix.exe msys-1.0.dll msys-intl-8.dll
  36. du.exe msys-1.0.dll msys-intl-8.dll
  37. echo.exe msys-1.0.dll msys-intl-8.dll
  38. egrep.exe msys-1.0.dll msys-intl-8.dll
  39. env.exe msys-1.0.dll msys-intl-8.dll
  40. error-mode.exe
  41. ex.exe msys-1.0.dll msys-iconv-2.dll msys-intl-8.dll msys-termcap-0.dll
  42. expand.exe msys-1.0.dll msys-intl-8.dll
  43. expr.exe msys-1.0.dll msys-intl-8.dll
  44. factor.exe msys-1.0.dll msys-intl-8.dll
  45. false.exe msys-1.0.dll msys-intl-8.dll
  46. fgrep.exe msys-1.0.dll msys-intl-8.dll
  47. file.exe msys-1.0.dll msys-magic-1.dll
  48. find.exe msys-1.0.dll msys-intl-8.dll
  49. flex.exe msys-1.0.dll msys-intl-8.dll msys-regex-1.dll
  50. fmt.exe msys-1.0.dll msys-intl-8.dll
  51. fold.exe msys-1.0.dll msys-intl-8.dll
  52. ftp.exe msys-1.0.dll
  53. gawk-3.1.7.exe msys-1.0.dll msys-intl-8.dll
  54. gawk.exe msys-1.0.dll msys-intl-8.dll
  55. getdefs.exe msys-1.0.dll msys-opts-25.dll msys-regex-1.dll
  56. grep.exe msys-1.0.dll msys-intl-8.dll
  57. guile.exe msys-1.0.dll msys-guile-17.dll
  58. gzip.exe msys-1.0.dll
  59. head.exe msys-1.0.dll msys-intl-8.dll
  60. hostname.exe msys-1.0.dll msys-intl-8.dll
  61. id.exe msys-1.0.dll msys-intl-8.dll
  62. info.exe msys-1.0.dll msys-intl-8.dll msys-regex-1.dll msys-termcap-0.dll
  63. infokey.exe msys-1.0.dll msys-intl-8.dll
  64. install-info.exe msys-1.0.dll msys-intl-8.dll msys-regex-1.dll
  65. install.exe msys-1.0.dll msys-intl-8.dll
  66. join.exe msys-1.0.dll msys-intl-8.dll
  67. kill.exe msys-1.0.dll msys-intl-8.dll
  68. less.exe msys-1.0.dll msys-regex-1.dll msys-termcap-0.dll
  69. lessecho.exe msys-1.0.dll
  70. lesskey.exe msys-1.0.dll
  71. link.exe msys-1.0.dll msys-intl-8.dll
  72. ln.exe msys-1.0.dll msys-intl-8.dll
  73. lndir.exe msys-1.0.dll
  74. logname.exe msys-1.0.dll msys-intl-8.dll
  75. ls.exe msys-1.0.dll msys-intl-8.dll
  76. lzcat.exe msys-1.0.dll msys-intl-8.dll msys-lzma-5.dll
  77. lzma.exe msys-1.0.dll msys-intl-8.dll msys-lzma-5.dll
  78. lzmadec.exe msys-1.0.dll msys-lzma-5.dll
  79. lzmainfo.exe msys-1.0.dll msys-intl-8.dll msys-lzma-5.dll
  80. m4.exe msys-1.0.dll
  81. mac2unix.exe msys-1.0.dll msys-intl-8.dll
  82. make.exe msys-1.0.dll msys-intl-8.dll
  83. makeinfo.exe msys-1.0.dll msys-intl-8.dll
  84. md5sum.exe msys-1.0.dll msys-intl-8.dll
  85. mkdir.exe msys-1.0.dll msys-intl-8.dll
  86. mkfifo.exe msys-1.0.dll msys-intl-8.dll
  87. mknod.exe msys-1.0.dll msys-intl-8.dll
  88. mktemp.exe msys-1.0.dll
  89. msysmnt.exe msys-1.0.dll
  90. mv.exe msys-1.0.dll msys-intl-8.dll
  91. nice.exe msys-1.0.dll msys-intl-8.dll
  92. nl.exe msys-1.0.dll msys-intl-8.dll
  93. nohup.exe msys-1.0.dll msys-intl-8.dll
  94. od.exe msys-1.0.dll msys-intl-8.dll
  95. oldfind.exe msys-1.0.dll msys-intl-8.dll
  96. openssl.exe msys-1.0.dll msys-crypto-1.0.0.dll msys-ssl-1.0.0.dll
  97. paste.exe msys-1.0.dll msys-intl-8.dll
  98. patch.exe msys-1.0.dll
  99. pathchk.exe msys-1.0.dll msys-intl-8.dll
  100. perl.exe msys-1.0.dll msys-perl5_8.dll
  101. perl5.8.8.exe msys-1.0.dll msys-perl5_8.dll
  102. pgawk-3.1.7.exe msys-1.0.dll msys-intl-8.dll
  103. pgawk.exe msys-1.0.dll msys-intl-8.dll
  104. pinky.exe msys-1.0.dll msys-intl-8.dll
  105. pr.exe msys-1.0.dll msys-intl-8.dll
  106. printenv.exe msys-1.0.dll msys-intl-8.dll
  107. printf.exe msys-1.0.dll msys-iconv-2.dll msys-intl-8.dll
  108. ps.exe msys-1.0.dll
  109. ptx.exe msys-1.0.dll msys-intl-8.dll
  110. pwd.exe msys-1.0.dll msys-intl-8.dll
  111. rcp.exe msys-1.0.dll
  112. readlink.exe msys-1.0.dll msys-intl-8.dll
  113. rexec.exe msys-1.0.dll
  114. rlogin.exe msys-1.0.dll
  115. rm.exe msys-1.0.dll msys-intl-8.dll
  116. rmdir.exe msys-1.0.dll msys-intl-8.dll
  117. rsh.exe msys-1.0.dll
  118. rsync.exe msys-1.0.dll msys-iconv-2.dll msys-popt-0.dll
  119. rview.exe msys-1.0.dll msys-iconv-2.dll msys-intl-8.dll msys-termcap-0.dll
  120. rvim.exe msys-1.0.dll msys-iconv-2.dll msys-intl-8.dll msys-termcap-0.dll
  121. scp.exe msys-1.0.dll
  122. sdiff.exe msys-1.0.dll msys-intl-8.dll
  123. sed.exe msys-1.0.dll msys-intl-8.dll
  124. seq.exe msys-1.0.dll msys-intl-8.dll
  125. sftp.exe msys-1.0.dll
  126. sh.exe msys-1.0.dll msys-regex-1.dll msys-termcap-0.dll
  127. sha1sum.exe msys-1.0.dll msys-intl-8.dll
  128. shred.exe msys-1.0.dll msys-intl-8.dll
  129. sleep.exe msys-1.0.dll msys-intl-8.dll
  130. slogin.exe msys-1.0.dll msys-crypto-1.0.0.dll msys-minires.dll msys-z.dll
  131. sort.exe msys-1.0.dll msys-intl-8.dll
  132. split.exe msys-1.0.dll msys-intl-8.dll
  133. ssh-add.exe msys-1.0.dll msys-crypto-1.0.0.dll
  134. ssh-agent.exe msys-1.0.dll msys-crypto-1.0.0.dll
  135. ssh-keygen.exe msys-1.0.dll msys-crypto-1.0.0.dll msys-minires.dll
  136. ssh-keyscan.exe msys-1.0.dll msys-crypto-1.0.0.dll msys-z.dll
  137. ssh.exe msys-1.0.dll msys-crypto-1.0.0.dll msys-minires.dll msys-z.dll
  138. stat.exe msys-1.0.dll msys-intl-8.dll
  139. stty.exe msys-1.0.dll msys-intl-8.dll
  140. su.exe msys-1.0.dll msys-intl-8.dll
  141. sum.exe msys-1.0.dll msys-intl-8.dll
  142. sync.exe msys-1.0.dll msys-intl-8.dll
  143. tac.exe msys-1.0.dll msys-intl-8.dll
  144. tail.exe msys-1.0.dll msys-intl-8.dll
  145. tar.exe msys-1.0.dll msys-iconv-2.dll msys-intl-8.dll msys-regex-1.dll
  146. tee.exe msys-1.0.dll msys-intl-8.dll
  147. telnet.exe msys-1.0.dll
  148. test.exe msys-1.0.dll msys-intl-8.dll
  149. texindex.exe msys-1.0.dll msys-intl-8.dll
  150. tftp.exe msys-1.0.dll
  151. touch.exe msys-1.0.dll msys-intl-8.dll
  152. tr.exe msys-1.0.dll msys-intl-8.dll
  153. true.exe msys-1.0.dll msys-intl-8.dll
  154. tsort.exe msys-1.0.dll msys-intl-8.dll
  155. tty.exe msys-1.0.dll msys-intl-8.dll
  156. u2d.exe msys-1.0.dll msys-intl-8.dll
  157. uname.exe msys-1.0.dll msys-intl-8.dll
  158. unexpand.exe msys-1.0.dll msys-intl-8.dll
  159. uniq.exe msys-1.0.dll msys-intl-8.dll
  160. unix2dos.exe msys-1.0.dll msys-intl-8.dll
  161. unix2mac.exe msys-1.0.dll msys-intl-8.dll
  162. unlink.exe msys-1.0.dll msys-intl-8.dll
  163. unlzma.exe msys-1.0.dll msys-intl-8.dll msys-lzma-5.dll
  164. unxz.exe msys-1.0.dll msys-intl-8.dll msys-lzma-5.dll
  165. users.exe msys-1.0.dll msys-intl-8.dll
  166. vdir.exe msys-1.0.dll msys-intl-8.dll
  167. view.exe msys-1.0.dll msys-iconv-2.dll msys-intl-8.dll msys-termcap-0.dll
  168. vim.exe msys-1.0.dll msys-iconv-2.dll msys-intl-8.dll msys-termcap-0.dll
  169. vimdiff.exe msys-1.0.dll msys-iconv-2.dll msys-intl-8.dll msys-termcap-0.dll
  170. wc.exe msys-1.0.dll msys-intl-8.dll
  171. who.exe msys-1.0.dll msys-intl-8.dll
  172. whoami.exe msys-1.0.dll msys-intl-8.dll
  173. xargs.exe msys-1.0.dll msys-intl-8.dll
  174. xml2ag.exe msys-1.0.dll msys-opts-25.dll msys-xml2-2.dll
  175. xxd.exe msys-1.0.dll
  176. xz.exe msys-1.0.dll msys-intl-8.dll msys-lzma-5.dll
  177. xzcat.exe msys-1.0.dll msys-intl-8.dll msys-lzma-5.dll
  178. xzdec.exe msys-1.0.dll msys-lzma-5.dll
  179. yes.exe msys-1.0.dll msys-intl-8.dll
  180. [.exe msys-1.0.dll msys-intl-8.dll
复制代码
那些没有后缀名的是脚本
原来精简掉了部分 dll,但发现某些工具不能运行,而 ldd 命令未发现不能运行的命令和这些 dll 存在依赖关系,所以只好又全部补了回去
  1. msys-crypt-0.dll
  2. msys-crypto-1.0.0.dll
  3. msys-gmp-10.dll
  4. msys-guile-17.dll
  5. msys-ltdl-7.dll
  6. msys-minires.dll
  7. msys-opts-25.dll
  8. msys-perl5_8.dll
  9. msys-popt-0.dll
  10. msys-ssl-1.0.0.dll
  11. msys-xml2-2.dll
复制代码





欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2