text editor - Search the file with some content and insert the row after that and write some other thing -
i want edit file in following way
my sample file:
101 273970116 2719674681506161941d094101metabank wavecrest 5220taxi charger micro deposit - cr a271967468webp2p 150616 1273970110000001 6220110000156534057672 0000000007greengrp2c386datest user s 0273970110000001 6220110000156534057672 0000000005clarkgrp2c386dctest user s 0273970110000002 82200000020002200002000000000000000000000012a271967468 273970110000001 9000001000001000000020002200002000000000000000000000012 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
in above file, wherever if find row starting number '6' , need insert line after row , write thing as
ex : 798r03073972187779351 05190376011000015 044000024265158
finally output file should below:
101 273970116 2719674681506161941d094101metabank wavecrest 5220taxi charger micro deposit - cr a271967468webp2p 150616 1273970110000001 6220110000156534057672 0000000007clarkgrp2c386datest user s 0273970110000001 798r03073972187779351 05190376011000015 044000024265158 6220110000156534057672 0000000005clarkgrp2c386dctest user s 0273970110000002 798r03073972187779351 05190376011000015 044000024265158 82200000020002200002000000000000000000000012a271967468 273970110000001 9000001000001000000020002200002000000000000000000000012 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
can please me solution this. ?
regards, saidivya
Comments
Post a Comment