Quote:
Originally Posted by raconteur
The character you posted (0x0C) is a form-feed character (page break). Just a wild guess, but it may be that the method that produces these characters is attempting to format the output.
|
Yes, true, that method tries to format the output. Thanks for the info.
With command
I got the below result
Code:
0000000 \f \n \f \n \f \n \f \n \f \n \f \n \f \n \f \n
0000020 \f \n \f \n
0000024
I have tried two statements, but they didnt work.
a) The below code isn't removing it, or may be leaving out the newline characters
b) The below sed statement is deleting the complete data
Code:
sed 's[ \t]*\f[ \t]*//g' | sed '/^$/d'