找回密码
 注册
搜索
[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
查看: 29402|回复: 4

[文本处理] geturls.exe:提取数据流中的链接

[复制链接]
发表于 2010-12-31 20:18:52 | 显示全部楼层 |阅读模式
http://bcn.bathome.net/s/tool/index.html?key=geturls
http://ss64.net/westlake/nt/index.html
  1. Version 1.0, Copyright (C)2001 Frank P. Westlake
  2. Extracts URL's beginning with "http://" or "ftp://" from a stream and
  3. prints to STDOUT.

  4.   program | GetURLs [/e:"string"] [/s:"string"]

  5. /e      Additional ending delimiters.
  6. /s      An additional beginning string to match.

  7. The URL is expected to be ended with white space, a double quote, one of the
  8. angle brackets '<' or '>', or one of the characters in the string identified by
  9. the /e switch.
复制代码
例:
  1. GetURLs /s:"ftp" < test.htm
复制代码
  1. type *.htm | GetURLs > url.txt
复制代码
[ 本帖最后由 tmplinshi 于 2011-1-17 23:21 编辑 ]
发表于 2010-12-31 21:47:19 | 显示全部楼层
请楼主吃一吨炒年糕。。。。。
发表于 2011-1-17 22:53:05 | 显示全部楼层
这个工具的官方网站是在哪里的?
 楼主| 发表于 2011-1-17 23:16:46 | 显示全部楼层

回复 3楼 的帖子

本来是这个地址的 http://www.geocities.com/fp.westlake/nt/,因为失效了,所以没有在顶楼贴出官网。以下新地址是最近发现的:

http://ss64.net/westlake/nt/index.html
发表于 2019-8-4 12:47:02 | 显示全部楼层
本帖最后由 impk 于 2019-8-4 12:48 编辑
  1. GetURLs /s:"ftp" < test.htm
复制代码
  1. type *.htm | GetURLs > url.txt
复制代码
  1. type *.htm | GetURLs /s:"ftp" > url.txt
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|批处理之家 ( 渝ICP备10000708号 )

GMT+8, 2026-3-17 01:37 , Processed in 0.023651 second(s), 10 queries , File On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表