位置4-10之间的值可以包含任何值和空格的组合,只有当它是空空间时,它才被替换为0。#input.txt
234455 899800 在上面的示例行中,我们可以看到在位置4-10之间有空空间。我希望能够检查我的文件中的每一行在位置4-10之间是否都有空空格,如果有空空间,我希望能够用0替换它。我在文件中提供了以下所需的输出。#desired output in the input.txt
0140000000789000 # note that 0
{4}{*}{\STAB{\rotatebox[origin=c]{90}{Word}}} &Long Text Tex&X&X&X&$<10$& &Long Text Tex\\\cline{4-*}{\STAB{\rotatebox[origin=c]{90}{Long Word}}}&Long Text Tex&X& & &$10-100$&X&Long Text Tex\\\cline{4-}{*}{\STAB{\rotateb
我使用反应堆捕捉某些事件,我在/etc/salt/ reactor.conf中的看起来如下: - 'health/agent/update':在reactor.sls中-我想从代理获得一些数据,并且只对某些盐仆从(而不是盐主本身)运行一个特定的SLS。因此,我与tgt一起使用了下面的块,以确保它只运行在那些仆从上。基于文档,这看起来很好。在update_server.sls中,我生成一些托管文件。{% set
insert into mdwall (a.doc, /*@dte,*/ 'HP1' as [Type], isnull([0-3],0) as [0-3], isnull([4-10],0) as [4-10], isnull([11-29],0) as [11-29], isnull([30-59],0) as [30-59], isnull([60-119],0) as [0-3' and unit like '%HP1'
group by doc)