xxd is available on most linux distros, it just may not be installed on yours, for whatever reason. It is definitely part of the standard install AFAIK.
try xxd(1): make hexdump/do reverse - Linux man page
Duplicating what it does is not simple, IMO, because it requires a parser, endian understanding, etc. You are far better off finding it on your box, or installing it.
when I do
$ ls z*
List of all files begining with 'z'. But what if I want to do a reverse lookup. Just for interest sake ;)
$ ls ztr
should be same as
$ ls ztr*
$ ls zt*
$ ls z* (2 Replies)
Hi Everybody,
I want to write a script in unix which will automatically FTP a .txt file from my client machine D: drive(Windows)
That is I want to FTP a file from my PC to UNIX box but this should be done from UNIX box by a shell script. (i.e. I will invoke the script in UNIX and FTP will be... (4 Replies)
Hello,
How do i sort a csv file. i should be sorting column1(varchar),column2*(varchar) in ascending and column4 in descending order(numeric datatype).
I tried few combinations of sort, but doesn't seem to be getting the right result.
sort -t "," -k 1 -k 2 -k 4nr file
any help is... (3 Replies)
hey guys,
can anybody help me out here on the following:
grep '^\{1,3\}\.\{1,3\}\.\{1,3\}\.\{1,3\}$' ravi.txt mary.txt lisa.txt https://www.unix.com/images/misc/progress.gif
i.e what i did was found ip addreses from different files
and then i want... (1 Reply)
How to create a symbolic link to a command with certain argument?
When I man hexdump, it is said in the man page that "-C Canonical hex+ASCII display...Calling the command hd implies this option". Actually it is. hd equals to hexdump -C.
And then I examined the ln command but find it is a... (5 Replies)
Hello guys
How can I use egrep to match word1 but not word2...word1.
What I mean
suppose that I have the following text, and my word1=pizza and word2=eat
I hate to eat pizza because I ma eating it each day
Pizza is good
I like vegetarian and Italian Pizza
eating healthy food is... (7 Replies)
hi,
I would like to ask or is it possible to dump a hex using dd from starting point to end point just like the "xxd -s 512 -l 512 <bin file>"
I know the redirect hexdump -C but i can't figure it out the combination options of dd.
Hope someone can share their knowledge..
Thanks in... (3 Replies)
Hi all:
I need edit a hexadecimal file.
for example:
000d530: 0000 0000 0000 0000 0000 0000 493a 004f ............I:.O
000d540: 6374 2032 3820 3230 3135 2031 393a 3234 ct 28 2015 19:24
I need to cut the chain(black) and corresponding to hexadecimal
from the chain at the end of file... (5 Replies)
Discussion started by: Rodrigo0461
5 Replies
LEARN ABOUT DEBIAN
oggz-dump
oggz-dump(1) General Commands Manual oggz-dump(1)NAME
oggz-dump -- Hexdump packets of an Ogg file, or revert an Ogg file from such a hexdump
SYNOPSIS
oggz-dump [-b | --binary ] [-x | --hexadecimal ] [-n | --new ] [-o filename | --output filename ] [-c content-type | --content-
type content-type ] [-s serialno | --serialno serialno ] [-O | --hide-offset ] [-S | --hide-serialno ] [-G | --hide-granulepos ]
[-P | --hide-packetno ] filename
oggz-dump [-r | --revert ] [-o filename | --output filename ] filename
oggz-dump [-h | --help ] [-v | --version ]
Description
oggz-dump generates a hexadecimal or binary dump of packets in an Ogg file, or creates an Ogg file from a hexadecimal oggz-dump file.
Options
oggz-dump accepts the following options:
Dump format options
-b, --binary
Generate a binary dump of each packet
-x, --hexadecimal
Generate a hexadecimal dump of each packet
Filtering options
-n, --new Only dump the first packet of each new logical bitstream found; for correctly formed Ogg files, this dumps only the beginning-of-
stream packets.
-c content-type, --content-type content-type
Dump only the logical bitstreams for a specific content-type. Run oggz-known-codecs(1) for a full list of codecs known by the
installed version of oggz.
-s serialno, --serialno serialno
Dump only the logical bitstream with specified serialno.
-O, --hide-offset
Hide the byte offset field of the preamble for each packet dumped. This is particularly useful in conjunction with oggzdiff(1)
when comparing Ogg bitstreams that differ only in page structure.
-S, --hide-serialno
Hide the serialno field of the preamble for each packet dumped. This is particularly useful in conjunction with oggzdiff(1) when
comparing Ogg bitstreams that differ only in serialno assignment.
-G, --hide-granulepos
Hide the granulepos field of the preamble for each packet dumped.
-P, --hide-packetno
Hide the packetno field of the preamble for each packet dumped.
Mode options
-r, --revert
Revert an oggz-dump. Generates an Ogg bitstream as prescribed in the input oggz-dump.
The serialno, granulepos and packetno fields of the packet preambles in the oggz-dump, as well as any bos or eos markers if
present, are used to structure the packets into logical bitstreams. Hence it is advised that the original input oggz-dump not be
generated with any hiding filters.
Only the hexadecimal data columns of the input oggz-dump are parsed when generating Ogg packet data; the printable character rep-
resentation is ignored.
Miscellaneous options
-o filename, --output filename
Write output to the specified filename instead of printing it to standard output.
-h, --help
Display usage information and exit.
-v, --version
Output version information and exit.
EXAMPLES
Dump all bitstreams in file.ogg:
oggz dump file.ogg
Dump only the Theora bitstream in file.ogv:
oggz dump -c theora file.ogv
AUTHOR
Conrad Parker November 17, 2003;
COPYRIGHT
Copyright (C) 2003 CSIRO Australia
SEE ALSO oggz-diff(1), hogg(1)xxd(1), hexdump(1)oggz-dump(1)