Sponsored Content
Full Discussion: Problem with binary file
Top Forums Shell Programming and Scripting Problem with binary file Post 302931983 by cfajohnson on Saturday 17th of January 2015 04:55:06 PM
Old 01-17-2015
Quote:
Code:
cat file | tr -d '\0'


UUOC
Code:
tr -d '\0' < file

 

10 More Discussions You Might Find Interesting

1. Solaris

compiled binary file gives "cannot execute binary file"

Hi, I have two Solaris machines. 1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500 2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60 I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies

2. Filesystems, Disks and Memory

UNIX problem concerning Microsoft Office Binary

I just started using Terminal on my Mac this summer, and right now I am having problems making a shell script. This shell should run the "Microsoft Setup Assistant" once I run the Automator Script. Alas, I still have problems. Here is the offending scriptlet: Sudo Tcsh root# cd... (2 Replies)
Discussion started by: chrisfrap
2 Replies

3. Solaris

problem when decoding a binary file

I tried to decode a binary script using the command 'uudecode'. but it is giving error as 'No begining line'. 'uudecode -o <outfile name> <binary file>' Please help me in resolving this. (4 Replies)
Discussion started by: vamshikrishnab
4 Replies

4. SCO

SCO unix binary compatibility problem

Hi I am looking for sco xenix binary compatibility utility "cvtomf",(convert omf object to COFF object) Would you please help me ? tnx (3 Replies)
Discussion started by: javad1_maroofi
3 Replies

5. UNIX for Dummies Questions & Answers

Pipe binary file matches grep results to file

I am using grep to match a pattern, but the output is strange. $ grep -r -o "pattern" * Gives me: Binary file foo1 matches Binary file foo2 matches Binary file foo3 matches To find the lines before/after, I then have to use the following on each file: $ strings foo1 | grep -A1 -B1... (0 Replies)
Discussion started by: chipperuga
0 Replies

6. Shell Programming and Scripting

Output redirection of c binary file to a file in shell script is failing

I am struck up with a problem and that is with output redirection. I used all the ways for the redirection of the output of c binary to a file, still it is failing. Here are the different ways which I have used: ./a.out | tee -a /root/tmp.txt 2>&1 ./a.out | tee -a /root/tmp.txt 1>&1 ./a.out |... (2 Replies)
Discussion started by: Maya29988
2 Replies

7. UNIX for Dummies Questions & Answers

[AIX] Binary file warning for text file.

Hello guys, We had to move from a DC to another, and we are now facing an "issue" with some text files. Looks like that some of our log files are set as binary: file TuxConnectorURA.20121012 TuxConnectorURA.20121012: data or International Language text less TuxConnectorURA.20121012... (2 Replies)
Discussion started by: EnioMarques
2 Replies

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

9. Shell Programming and Scripting

PROBLEM with another binary file

Hello, I want to parse another file, i just want the ascii content, here the result of command od -bc file 0000000 036 000 024 000 000 000 377 376 377 010 060 000 060 000 060 000 036 \0 024 \0 \0 \0 377 376 377 \b 0 \0 0 \0 0 \0 0000020 060 000 062 000 106 000... (21 Replies)
Discussion started by: protocomm
21 Replies

10. Web Development

Problem in printing binary tree using php and mysql

Database Structure Root Table ID Root_ Node Level 1 A 0 2 B 1 3 C 1 Child Table ID Left_Node Right_Node Root_Node Root_ID 1 B C A 1 ... (1 Reply)
Discussion started by: Deepak Tiwari
1 Replies
Debugging(3m17n)						 The m17n Library						  Debugging(3m17n)

NAME
Debugging - Support for m17n library users to debug their programs. Functions MCharTable * mdebug_dump_chartab (MCharTable *table, int indent) Dump a chartable. MFace * mdebug_dump_face (MFace *face, int indent) Dump a face. MFont * mdebug_dump_font (MFont *font) Dump a font. MFontset * mdebug_dump_fontset (MFontset *fontset, int indent) Dump a fontset. MInputMethod * mdebug_dump_im (MInputMethod *im, int indent) Dump an input method. int mdebug_hook () Hook function called on an error. MText * mdebug_dump_mtext (MText *mt, int indent, int fullp) Dump an M-text. MPlist * mdebug_dump_plist (MPlist *plist, int indent) Dump a property list. MSymbol mdebug_dump_symbol (MSymbol symbol, int indent) Dump a symbol. MSymbol mdebug_dump_all_symbols (int indent) Dump all symbol names. Detailed Description Support for m17n library users to debug their programs. The m17n library provides the following facilities to support the library users to debug their programs. o Environment variables to control printing of various information to stderr. o MDEBUG_INIT -- If set to 1, print information about the library initialization on the call of M17N_INIT(). o MDEBUG_FINI -- If set to 1, print counts of objects that are not yet freed on the call of M17N_FINI(). o MDEBUG_CHARSET -- If set to 1, print information about charsets being loaded from the m17n database. o MDEBUG_CODING -- If set to 1, print information about coding systems being loaded from the m17n database. o MDEBUG_DATABASE -- If set to 1, print information about data being loaded from the m17n database. o MDEBUG_FONT -- If set to 1, print information about fonts being selected and opened. o MDEBUG_FLT -- If set to 1, 2, or 3, print information about which command of Font Layout Table are being executed. The bigger number prints the more detailed information. o MDEBUG_INPUT -- If set to 1, print information about how an input method is running. o MDEBUG_ALL -- Setting this variable to 1 is equivalent to setting all the above variables to 1. o MDEBUG_OUTPUT_FILE -- If set to a file name, the above debugging information is appended to the file. If set to 'stdout', the information is printed to stdout. o Functions to print various objects in a human readable way. See the documentation of mdebug_dump_XXXX() functions. o The hook function called on an error. See the documentation of mdebug_hook(). Author Generated automatically by Doxygen for The m17n Library from the source code. COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 Debugging(3m17n)
All times are GMT -4. The time now is 08:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy