请问那位高手用过gnuwin32中的工具?\r\n为什么我在win2000中装了以后不能接收windows的DOS命令格式?\r\n如tar : 我用 tar -cvf D:\\a.tar D:\\b.txt 出现找不到路径的错误提示信息? 请指教~~~ 谢谢
首先,三个的官方网站分别是: minGW:http://www.mingw.org cygwin: http://www.cygwin.com gnuwin32:http://gnuwin32.sourceforge.net minGW给那些习惯于再Linux上开发的人员,在windows上提供了一套类似的工具集。 cygwin主要是对于再Linux的程序,无需改动代码即可移植到windows上 gnuwin32主要是对习惯linux工具的人员,在windows上提供一套类似的命令。
t.txt文件内容: 1-你好-a 2-xxxx-b 在WinXP下想用gawk(版本:gawk-4.0.2-bin.zip)读出最后一列(即含有a和b的列), 代码: gawk "{print substr($0, 8, 1)}" t.txt 输出结果: b 但输出结果第一行的a没有输出, 如何处理? 谢谢!
版权声明 :可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。 http://windtear.net/archives/2004/05/10/000375.html 习惯了 linux 下的各种小工具 其实很多小工具都有 windows 版本 很多windows下不错的小工具也有linux的移植版 不光小工具 大工具服务也有 比如blog前面提过的 squid 当然还有著名的apache php perl python vim emacs cvs pure-ftpd .... 太多了太多了 这里面有一些小工具的window...
首先去http://prdownloads.sourceforge.net/gnuwin32/把相应部分保存下来,格式如下: a2ps-4.13b-1-bin.zip 926 kb Mar 15, 2005 14:12 a2ps-4.13b-1-dep.zip 713 kb Mar 15, 2005 14:12 a2ps-4.13b-1-doc.zip 2070 kb Mar 15, 2005 14:13 a2ps-4.13b-1-lib.zip 113 kb Mar 15, 2005 14:13 a2ps-4.13b-1-src.exe 1417 kb Mar 15, 2005 14:14 a2ps-4.13b-1-src.zip 3004 kb Mar 15, 2005 14:15 a2ps-4.13b-1.e...
在WinXP/Win7下gnuwin32的grep, sed, awk用什么版本好, 介绍一下, 谢谢!
单个文件 diff –uN from-file to-file >to-file.patch patch –p0 patch –RE –p0 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/103763/showart_2126442.html
Parentdir/fileOrig Parentdir/fileModify pushd Parentdir diff -rc Parentdir/fileOrig Parentdir/fileModify > test.patch 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/32610/showart_345910.html
patch patch [options] [original [patchfile] ] Apply the patches specified in patchfile to original. Replace the original with the new, patched version; move the original to original.orig or original~. The patch file is a difference listing produced by the diff command. Options -b, --backup Back up the original file. --backup-if-mismatch, --no-backup-if-mismatch When not backing up all original f...