Unix Shell commmands like "wc" expect a unix text file format with each line terminated by a linefeed character.
This task is impossible with the information supplied.
Have you considered reading the file back with whatever programming language was used to create the file and taking into account whatever file structure was used originally?
Here's the problem...
I'm using a simulator on UNIX, and it requires a filename where bits are stored, it should read them out and do whatever with them at that point..
So what i'm trying to do is make a binary file on UNIX. On my PC i can use MSDEV, or any of my C++ compilers to generate a... (2 Replies)
Is there a way to join two or more binary files together without corrupting the data?
I've searched the forums, and googled etc. but the only commands that get mentioned are 'cat', which only works for text files and 'join'. According to the man pages join is a 'relational database operator',... (5 Replies)
Hi All,
I need a solution on my following find command
find ./.. -name '*.file' -print
BTW This gives me the output as belows
./rtlsim/test/ADCONV0/infile/ad0_dagctst.file
./rtlsim/test/ADCONV0/user_command.file
./rtlsim/test/ADCONV0/simv.daidir/scsim.db.dir/scsim.db.file... (2 Replies)
HI Friends,
My actual requirement is to find out the binary files except txt/gif from parent and subdirectories. so,i have to write unix shell script.
Any one please suggest me on this how to write script for this or any other alternate way is there to find out.
Thanks & Regards,
Srujana (13 Replies)
I am working in C and need a solution for below problem:
I have a binary file, which needs to be edited in such a way no data is loss.
For example i have to insert 3 bytes of data at some position without changing the contents of the file.
if file has data as:... (2 Replies)
Hi
I am very happy to joined this group!!!
I need your suggestion for get it resolved my issue.
I have two class files both class files are same, there is no diff in both two files. Both 2 files were compiled in Linux environment with different type of OS.
When i am using diff command,... (13 Replies)
Discussion started by: suresh1256644
13 Replies
LEARN ABOUT DEBIAN
binary.peek
Binary.peek(3kaya) Kaya module reference Binary.peek(3kaya)NAME
Binary::peek - Query binary data.
SYNOPSIS
Int peek( Binary block, Int offset )
ARGUMENTS
block The binary block
offset The location to read from (starting from zero)
DESCRIPTION
Retrieve the byte at offset offset
An Binary.OffsetOutOfRange(3kaya) exception will be thrown if it attempts to access a value outside the block.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public
License (version 2.1 or any later version) as published by the Free Software Foundation.
RELATED Binary.Binary(3kaya)Binary.array(3kaya)Binary.getBlockChunk(3kaya)Binary.peekString(3kaya)Binary.poke(3kaya)Kaya October 2012 Binary.peek(3kaya)