Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-07-2006
Registered User
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
How to convert binary Unix file to text

Hi all,

I have a print control file (dflt) for Oracle which is in binary. As I am going to develope an application in Window environment, I would like to reference the dflt file. But it is in binary format and I cannot access it. Anyone can suggest me how to convert the file into text or human readable language.

Rgds
Sponsored Links
    #2  
Old 11-08-2006
...@...
 
Join Date: Feb 2004
Location: NM
Posts: 9,650
Thanks: 164
Thanked 642 Times in 619 Posts
Do you know that layout of the file?
Sponsored Links
    #3  
Old 11-08-2006
Registered User
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

I don't know what exact means by layout. The format of the dflt in windows is something like the following format which is a text file.
//////////////////////////////////////////////
printer "dflt"

height 66
width 80

after page control(L)

return ""
linefeed control(J)
///////////////////////////////////////////////

Rgds
    #4  
Old 11-09-2006
...@...
 
Join Date: Feb 2004
Location: NM
Posts: 9,650
Thanks: 164
Thanked 642 Times in 619 Posts
Can you edit the file in unix and read it? If you know this much I am guessing that the file on the windows side is garbled.
Sponsored Links
    #5  
Old 11-10-2006
Registered User
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
I cannot edit nor read the file. It should not be garbaged because the Oracle report reference it.
Sponsored Links
    #6  
Old 11-10-2006
Registered User
 
Join Date: Mar 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
maybe th command "strings" can be useful?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need a unix script to convert date into Julian format in a text file ajiwww Shell Programming and Scripting 4 09-14-2011 06:16 AM
Is there a way to convert a binary file to text file in UNIX? vee_789 Shell Programming and Scripting 7 05-22-2011 04:15 AM
Convert clear text into binary mKarri AIX 1 12-08-2010 01:22 PM
convert binary file into text file modcan Shell Programming and Scripting 2 12-29-2008 09:28 AM
trying to convert binary data to text using C++ geet Programming 2 09-05-2008 05:56 AM



All times are GMT -4. The time now is 03:20 PM.