The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 12-03-2008 06:11 PM
How convert PCL or PDF file to text in AIX 10789 AIX 0 05-31-2008 03:07 AM
Binary data to text file conversion auro123 UNIX for Dummies Questions & Answers 1 12-26-2005 06:48 AM
Plz Help To convert xml file to text file using bourn shell scripts ram2s2001 Shell Programming and Scripting 0 11-09-2005 09:56 AM
How do I convert unix text to to win text? nucca UNIX for Dummies Questions & Answers 1 06-25-2001 02:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-07-2006
user12345 user12345 is offline
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
  #2 (permalink)  
Old 11-08-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,748
Do you know that layout of the file?
  #3 (permalink)  
Old 11-08-2006
user12345 user12345 is offline
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
  #4 (permalink)  
Old 11-09-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,748
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.
  #5 (permalink)  
Old 11-10-2006
user12345 user12345 is offline
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.
  #6 (permalink)  
Old 11-10-2006
tonlu tonlu is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 16
maybe th command "strings" can be useful?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0