Sponsored Content
Top Forums UNIX for Advanced & Expert Users Convert Binary data to ascii data Post 57733 by krishna on Friday 5th of November 2004 12:49:36 AM
Old 11-05-2004
Re: Convert Binary data to ascii data

My source file is in Unix Binary formated but I need to be convert in Ascii on Unix, Don't have idea on UnixtoDos or DostoUnix? pls help me out.
Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Convert ASCII to BINARY

Here is what I did . . . . I FTP'd several *.pdf files from a web site to a UNIX server, and did not set the transfer mode to BIN, now Adobe thinks that the documents are corrupted. Is there a way to convert the *.pdf files to Binary so that Adobe can open them again. I would just re-download... (2 Replies)
Discussion started by: pc9456
2 Replies

2. UNIX for Advanced & Expert Users

Need to convert Binary files to ascii

Dear Experts I need to read a binary file. I know for example in byte number 3801-3804 there is a 4 byte number embeded. Is there a way to extract this number from this file and then convert it to ascii via unix?? Your help would be highly appreciated. Very Best Regards Reza (5 Replies)
Discussion started by: Reza Nazarian
5 Replies

3. 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

4. Shell Programming and Scripting

how to check the file data type(ascii or binary)

hi i am receiving a file from one system , i have to verify the format of the file data i.e whether the data is in acii format or binary format, please help thanks in advance satya (1 Reply)
Discussion started by: Satyak
1 Replies

5. Shell Programming and Scripting

how to convert data from ASCII to Packed Decimal

Hi All, Please let me know if it is possible to convert data from ASCII to Packed Decimal through Unix? Basically we have ASCII file with numeric data we want to convert that files data to Packed decimal format to send it to main frame. Please let me know if we can do it through unix script.... (1 Reply)
Discussion started by: aloktiwary
1 Replies

6. Shell Programming and Scripting

Convert row data to column data

Hi Guys, I have a file as follows: a 1 b 786 c 90709 d 99 a 9875 b 989 c 887 d 111 I want: a 1 9875 b 786 989 (3 Replies)
Discussion started by: npatwardhan
3 Replies

7. UNIX for Dummies Questions & Answers

Suggestion to convert data in rows to data in columns

Hello everyone! I have a huge dataset looking like this: nameX nameX 0 1 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 1 2 2 2 ............... nameY nameY 2 2 2 2 2 2 2 2 2 2 1 2 2 2 1 2 2 2 ..... nameB nameB 0 1 2 2 2 2 2 2 2 2 1 2 2 2 1 2 2 2 ..... (can be several thousands of codes) and I need... (8 Replies)
Discussion started by: kush
8 Replies

8. UNIX for Advanced & Expert Users

Convert column data to row data using shell script

Hi, I want to convert a 3-column data to 3-row data using shell script. Any suggestion in this regard is highly appreciated. Thanks. (4 Replies)
Discussion started by: sktkpl
4 Replies

9. Solaris

Convert files from binary to ASCII

I have a huge files in binary format thanks to help me in finding a way to convert these files from Binary format to ASCII format. (0 Replies)
Discussion started by: PRINCESS_RORO
0 Replies

10. Shell Programming and Scripting

Bash - binary data to ascii code

Hello, With bash-script (ubunto server) I'm trying to read a binary file and, for each character, give back its ascii code (including extended ascii). For example: HEX => ASCII => PRINT f5 => 245 => õ 50 => 80 => P To load the binary file into a variable I tried in this way: ... (2 Replies)
Discussion started by: math4
2 Replies
RESMERGER(1)						    BSD General Commands Manual 					      RESMERGER(1)

NAME
/usr/bin/ResMerger -- Merges resource forks or files into one resource file SYNOPSIS
/usr/bin/ResMerger [-fileCreator <fileCreator>] [-fileType <fileType>] [-[a]ppend] [-srcIs RSRC | DF] [-dstIs RSRC | DF] file ... -o <dest-file> DESCRIPTION
The /usr/bin/ResMerger command merges the Carbon Resource Manager resource data in multiple files into a single file. The output file may be one of the input files. The /usr/bin/ResMerger command takes the following flags and arguments: -fileCreator <fileCreator> Sets the HFS creator type of the output file. The default is '????'. -fileType <fileType> Sets the HFS file type of the output file. The default is '????'. -[a]ppend Append to output file, rather than overwriting it. -srcIs RSRC | DF The fork in which to look for resources in the input file(s). The default is the data fork (DF). -dstIs RSRC | DF The fork in which to write resources in the output file. The default is the data fork (DF). -skip <type> Specifies resource type to skip during the resource merge. May be used multiple times, to specify multiple resource types to skip. file Specifies one or more input files. Note that as there is only one srcIs flag, the input files must be homogenous, that is, the resources must be in the same fork of all input files. -o <dest-file> Specifies the output file. If the fork designated by -dstIs exists, it is overwritten unless the -a flag is provided; if it does not exist, it is created. SEE ALSO
Rez(1), DeRez(1), RezWack(1), UnRezWack(1), SplitForks(1) Mac OS X April 12, 2004 Mac OS X
All times are GMT -4. The time now is 11:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy