我编写了一个期望脚本来登录几个路由并运行sh inv
命令,但输出也是
包含以下内容:
********************************* Access Warning!! ***********************************
* *
* This computer system, its network and data contained therein is the property of *
* the <Company name>. Access to this computer and network is restricted *
* to persons and programs authorised by the Group only. Access by others is *
* prohibited and unauthorised, and is wrongful under law. Do not proceed if you *
* are not authorised. Any unauthorised access will be prosecuted to the fullest *
* extent of the law. *
* *
**************************************************************************************
我是否可以使用RegEx从文本文件中删除上述重新出现的段落?
答案 0 :(得分:0)