#!/bin/env python#coding:utf8'''awk 打印指定行数sed 打印指定行数python 打印指定位置,某长度字符串awk 耗时最长,很长sed awk 时间一半python 耗时 基本忽略不计使用脚本监控日志文件的时候,每次记录上次退出的位置python效率最高.'''import osfrom time import timefrom os.path i
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号