S
S
Sergey Alpeev2014-12-09 13:02:12
MODX
Sergey Alpeev, 2014-12-09 13:02:12

How to remove line breaks in csv?

Good day, I am engaged in porting real estate objects from the Bitrix system to modx, the move has almost taken place, one problem, I can’t get rid of line breaks when exporting to Bitrix, and when importing in this case, it says that the number of fields does not match, thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-12-09
@bondbig

depending on what transfers
You can, for example:

tr -d '\r'
или
tr -d '\n'

The specified "example" does not provide information about this, because it went through the toaster parser. Better link to the file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question