0

I'm facing below issue when performing unix2dos conversion

unix2dos: Binary symbol found at line 166 unix2dos: Skipping binary file Sample.txt

I can find ^@ characters in the file.

I can do -f which is force conversion of binary files

Any idea apart from this ???

In VI,i can able to replace the characters but not in the script

Need to handle in the script, please let me know

RavinderSingh13
  • 117,272
  • 11
  • 49
  • 86

1 Answers1

1

A ^@ is a null character. I assume your working on a Unix/Linux platform. Perhaps this answer may help identifying-and-removing-null-characters-in-unix

More information about the null character can be found at Wikie entry on null character

Dave
  • 553
  • 6
  • 24