I need to delete string from position X to position Y on each line in a text file
问题 I have a huge flat file 100K records each spanning 3000 columns. I need to removed a segment of the data fay starting position 300 to position 500 before archiving. This is sensitive part of data that needs to be wiped before I can archive. I am looking for a awk or sed or any similar command that can do the trick for me. Sample file 003133780 MORNING GLORY DR SOUTHAMPTON PA18966780 MORNING GLORY DR 0054381303 MADISON ST RADFORD VA241411303 MADISON ST 00586728 CONESTOGA COURT CHADDS FORD