Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-12-2017, 08:39 AM   #16
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 678

Rep: Reputation: 105Reputation: 105

Since it's now established the .txt file is -in fact- not a text file but a binary file, you _might_ get lucky using the command strings:

strings 247-0.txt > 247-1.txt
No guarantees though; your txt file is not a text file; and I'm not sure what would happen due to the difference in encoding in the file and the one you have currently set as your environments encoding.
Old 06-12-2017, 08:45 AM   #17
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,150

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
this seems somewhat similar:


ascii, binary, text processing, unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SED - Converting UNIX to DOS file aurelio26 Linux - Newbie 7 04-09-2008 01:15 AM
script to convert dos to unix format kapilcool Linux - Software 3 06-15-2006 12:50 PM
Command to convert dos file to a unix format sathish80 Linux - Newbie 1 03-23-2006 12:32 AM
newline problem between DOS and Unix format cjs_pro Programming 7 03-11-2005 12:08 PM
converting MS-DOS files to Linux dalraidia Linux - Newbie 10 12-25-2002 08:49 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration