0
我使用这个命令来滤除线set timing on;
Windows批处理:无法筛选出精确匹配的行
type filea.sql | findstr /v "^set timing on;$"
和输出,我得到如下:
whenever sqlerror exit 9;
grant select on exfdsfds;
exit;
filea.sql的内容是:
set timing on;
whenever sqlerror exit 9;
grant select on exfdsfds;
timing on; cool
exit;
为什么删除timing on; cool
什么改性中需要ns来命令才能避免这种结果?