Home > OS >  Linux CSV line problem
Linux CSV line problem

Time:11-25

And such a CSV file

_B_1027, ja_JP, XXXX. Mp4, 462140421 9
_B_1027, ja_JP, XXXX. Mp4, 466142022 9
_B_1027, ja_JP, XXXXX. Mp4, 1170, 483
_B_1027, ja_JP, XXX. Mp4, 469144775 2 _B_1027, ja_JP, XXXXX. Mp4, 476745201
_B_1027, ja_JP, XXXXX. Mp4, 474414809 9
_B_1027, ja_JP, XXXX. Mp4, 460136962 1



There may be no newline when generated CSV _B_1027, ja_JP, XXX. Mp4, 469144775 2 _B_1027, ja_JP, XXXXX. Mp4, 476745201


Hope after regeneration into CSV _B_ the beginning of the line wrapped

CodePudding user response:

Sed -i 's/[^ ^] _B_/\ n_B_/g' CSV) file

CodePudding user response:

Sed -i 's/[^ ^] _B_/\ n_B_/g' file
  • Related