Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to convert binary Unix file to text Post 302095682 by jim mcnamara on Thursday 9th of November 2006 06:57:33 AM
Old 11-09-2006
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.
 

10 More Discussions You Might Find Interesting

1. Programming

trying to convert binary data to text using C++

i hav tried to convert binary 2D data into text using binreader and writing into text file using streamwriter. i use ReadSingle() function to convert from binary to ascii, although it works good in 1D data but not in more dimensions. the kind of values i get are -1.265369923E+038 and like ... (2 Replies)
Discussion started by: geet
2 Replies

2. Shell Programming and Scripting

convert binary file into text file

im looking for anothr way to convert binary file into text file im using old solaris version (exatcly like xxd -r) thanks (2 Replies)
Discussion started by: modcan
2 Replies

3. AIX

Convert clear text into binary

Hi I need to display the binary text of an clearn text which is sent as input to the shell script (c shell); ex: I will pass "HELLO" as input, and i should get the binary format of the text Thanks in advance Mohan (1 Reply)
Discussion started by: mKarri
1 Replies

4. Shell Programming and Scripting

Need a unix script to convert date into Julian format in a text file

The 6th & 7th column of the text files represents date & time. I need this to be converted in julian format using command "date +%s -d <date>". I know the command, but dont know how to use it on the script 0 dbclstr-b IXT_Web Memphis_Prod_SQL_Full Memphis-Prod-SQL-Full-Application-Backup... (4 Replies)
Discussion started by: ajiwww
4 Replies

5. Shell Programming and Scripting

Convert binary to text Perl script

Hello everyone, I have a binary file with a structure unknown. I have found 2 perl scripts that it seems to do the convertion but I get sintactic errors when I run them, may somebody test these 2 scripts please and see if really work? One if from here... (10 Replies)
Discussion started by: Ophiuchus
10 Replies

6. Shell Programming and Scripting

Convert binary file to csv and then back to the binary format

Hello *nix specialists, Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies

7. Windows & DOS: Issues & Discussions

Convert UNIX text file in Windows to recognize line breaks

Hmmm I think I found the correct subforum to ask my question... I have some text files that I prepared in vi some time ago, and now I want to open and edit them with Windows Notepad. I don't have a Unix terminal at the moment so I need to do the conversion in Windows. Is there a way to do this?... (1 Reply)
Discussion started by: frys_hp
1 Replies

8. UNIX for Dummies Questions & Answers

Convert UNIX text file in Windows to recognize line breaks

Hi all, I have some text files that I prepared in vi some time ago, and now I want to open and edit them with Windows Notepad. I don't have a Unix terminal at the moment so I need to do the conversion in Windows. Is there a way to do this? Or just reinsert thousands of line breaks again :eek: ? (2 Replies)
Discussion started by: frys_hp
2 Replies

9. Shell Programming and Scripting

Need to convert delimited text file in UNIX to an Excel file

Dear Users , Need to convert delimited text files in UNix server to an Excel file and move the excel file to Windows environment. Am trying to automate the whole process. Can anyone share the ideas,if they have done similar ones before...Thanks -Meera (1 Reply)
Discussion started by: meerakrish
1 Replies

10. Shell Programming and Scripting

Read csv file, convert the data and make one text file in UNIX shell scripting

I have input data looks like this which is a part of a csv file 7,1265,76548,"0102:04" 8,1266,76545,"0112:04" I need to make the output data should look like this and the output data will be part of text file: 7|1265000 |7654899 |A| 8|12660000 |76545999 |B| The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
Debian::Control(3pm)					User Contributed Perl Documentation				      Debian::Control(3pm)

NAME
Debian::Control - manage Debian source package control files SYNOPSIS
my $c = Debian::Control->new(); # construct a new $c->read($file); # parse debian/control file $c->write($file); # write to file print $c->source->Source; print $c->source->Build_Depends; # Debian::Dependencies object $c->binary->{'libfoo-perl'}->Description( "Foo Perl module " . " Foo makes this and that" ); DESCRIPTION
Debian::Control can be used for representation and manipulation of Debian source package control files in an object-oriented way. It provides easy reading and writing of the debian/control file found in Debian source packages. FIELDS
source An instance of Debian::Control::Stanza::Source class. Contains the source stanza of the Debian source package control file. binary A hash reference (actually Tie::IxHash instance) with keys being binary package names and values instances of Debian::Control::Stanza::Binary class. Contains the information of the binary package stanzas of Debian source package control file. CONSTRUCTOR
new Constructs a new Debian::Control instance. The "source" field is initialized with an empty instance of Debian::Control::Stanza::Source and "binary" field is initialized with an empty instance of Tie::IxHash. METHODS
read file Parse "control" in debian and populate "source" and "binary" accessors. file can be either a file name, an opened file handle or a string scalar reference. write file Writes a debian/control-like file in file with the contents defined in the "source" and "binary" fields. file can be either a file name, an opened file handle or a string scalar reference. All dependency lists are sorted before writing. is_arch_dep Returns true if the package is architecture-dependent. This is determined by the "Architecture" field of the first binary package. If it equals to "all", then the package is architecture-independent; otherwise it is architecture-dependent. Returns undef if it is not possible to determine whether the package is architecture-dependent or not. This is the case when there are no binary package stanzas present or the first has no "Archiitecture" field. SEE ALSO
Debian::Control::Stanza::Source, Debian::Control::Stanza::Binary, Debian::Control::FromCPAN COPYRIGHT &; LICENSE Copyright (C) 2009 Damyan Ivanov dmn@debian.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2012-01-15 Debian::Control(3pm)
All times are GMT -4. The time now is 03:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy