- 论坛徽章:
- 0
|
目标二:删除行首的"!"
目标二:将“inp ” “Structure ” “Layer ” “Limits ”开始的行写入到新的文本b.txt,筛选需要区别大小写
样本a.txt如下:
!Warning: Structure smx_22: Text exists and is being ignored
!Warning: 53 text nodes ignored on layers: 0
!Warning: nearest MEBES/MODE5 resolution 0.00099999830126762390137
!inp ABAH005_f.gds
!Structure AABB005_f
!Layer 11
!Exploding primary file hierarchy
!
!Limits (-9787.5,-9832.5) (9787.5,9900)
!Warning: Structure smx_22: Text exists and is being ignored
!Warning: 53 text nodes ignored on layers: 0
!Warning: nearest MEBES/MODE5 resolution 0.00099999830126762390137
!inp AABB005_f.gds
!Structure AABB005_f
!Layer 5
!Exploding primary file hierarchy
!
!Limits (-9785.45,-9864) (9787.5,9900)
|
|