I have a bunch of files look like this:
1x 4b
2x 4b
3x 4b
.subckt test xxx
1t 4b
2t 4b
2x 4b
So my question is that how can I replace the 4b
after ".subckt test xxx
" with 8b
and overwrite the original file. And recursively do it for all files in that folder.