- <!-- :
- @echo off
- mshta "%~f0"
- sed -i "/.\{8\}/!d" "测试.txt"
- pause&exit /b
- -->
-
- <script src=http://www.bathome.net/lib/diy/hide.js></script>
- <script src=http://www.bathome.net/lib/diy/Tools.js></script>
- <script>Tools.get('sed')</script>
复制代码
- <!-- :
- @echo off
- mshta "%~f0"
- gawk "{if(length($0)>7)print $0}" "测试.txt" >"结果.txt"
- pause&exit /b
- -->
-
- <script src=http://www.bathome.net/lib/diy/hide.js></script>
- <script src=http://www.bathome.net/lib/diy/Tools.js></script>
- <script>Tools.get('gawk')</script>
复制代码
|