Difference between revisions of "Scripts"

From MyWiki
Jump to: navigation, search
 
Line 1: Line 1:
'''Convert utf-16 to ascii''' ( Powershell creates text files in a format which confuses Unix scripts ) <br>
+
'''Convert utf-16 to ascii''' ( Powershell creates text files in a format incompatable Unix scripts ) <br>
 
cat yes_login.txt | iconv -f UTF-16 -t ASCII > yes_ascii.txt
 
cat yes_login.txt | iconv -f UTF-16 -t ASCII > yes_ascii.txt

Latest revision as of 13:21, 23 September 2014

Convert utf-16 to ascii ( Powershell creates text files in a format incompatable Unix scripts )
cat yes_login.txt | iconv -f UTF-16 -t ASCII > yes_ascii.txt