awk print not printing complete line with linefeed or carrigae return -


In the awk program, I have read a text value with some text that has a line line or a cartoon in the text,

I check it an awk variable, name name str, length of _str and its exact length, but when I try to print it using "print", but this is the first linefeed o carriage Print the first part of the return and discard the remaining characters No idea why? And how do I fix this problem?

your line or something Destruction in production for the first time run dos2unix on the file and then try again if it does not solve your problem, then update your question as @ghoti.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -