The UNIX and Linux Forums  

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


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Reading a binary file in text or ASCII format Nagendra High Level Programming 3 1 Day Ago 03:11 PM
How convert PCL or PDF file to text in AIX 10789 AIX 0 05-31-2008 12:07 AM
Binary data to text file conversion auro123 UNIX for Dummies Questions & Answers 1 12-26-2005 03:48 AM
Plz Help To convert xml file to text file using bourn shell scripts ram2s2001 Shell Programming and Scripting 0 11-09-2005 06:56 AM
How do I convert unix text to to win text? nucca UNIX for Dummies Questions & Answers 1 06-24-2001 11:30 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-07-2006
Registered User
 

Join Date: Nov 2006
Posts: 3
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
Reply With Quote
Forum Sponsor
  #2  
Old 11-08-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
Do you know that layout of the file?
Reply With Quote
  #3  
Old 11-08-2006
Registered User
 

Join Date: Nov 2006
Posts: 3
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
Reply With Quote
  #4  
Old 11-09-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
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.
Reply With Quote
  #5  
Old 11-10-2006
Registered User
 

Join Date: Nov 2006
Posts: 3
I cannot edit nor read the file. It should not be garbaged because the Oracle report reference it.
Reply With Quote
  #6  
Old 11-10-2006
Registered User
 

Join Date: Mar 2005
Posts: 16
maybe th command "strings" can be useful?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0