摘要: Sed 行(流)编辑器 stream editor sed 数据处理的原理 文本中的一行 》 缓存 》 电脑屏幕 数据在缓存中处理输出到屏幕 sed 命令 sed options 'flags' [filename] commands: 增 a 在匹配后边添加 i 在匹配前边添加 删 d 改 c 更 阅读全文
posted @ 2020-09-17 20:54 pigeast 阅读(115) 评论(0) 推荐(0)
摘要: SHELL下的正则匹配 egrep '^((2(5[0-5]|[0-4][[:digit:]])|1[[:digit:]]{2}|[1-9][[:digit:]]|[[:digit:]])\.){3}(2(5[0-5]|[0-4][[:digit:]])|1[[:digit:]]{2}|[1-9][ 阅读全文
posted @ 2020-09-17 20:42 pigeast 阅读(121) 评论(0) 推荐(0)