xd man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

XD(1)									 XD(1)

NAME
       xd - dump file contents in multiple formats

SYNOPSIS
       xd [ option ... ] [ -format ... ] [ file...  ]

DESCRIPTION
       Xd  dumps the contents of each file in one or more formats.  If no file
       is specified, standard input is read.  Input is processed  in  16  byte
       chunks.	 Each  chunk  is  output in each of the specified formats, one
       format per line.	 Each line of output  is  prefixed  its	 file  offset.
       This  is zero padded for the first format; subsequent formats are blank
       padded.	If more than one file is specified, the name of each  file  is
       output at the start of its dump.

       Output  formats	are  specified by a two character name, 4x by default.
       The first character defines the byte width of the  format;  the	second
       character defines the style of output.

       The available width specifiers are:

       1 or b 1 byte units.

       2 or w 2 byte big-endian units.

       4 or l 4 byte big-endian units.

       8 or v 8 byte big-endian units.

       The available styles are:

       o
       Octal
       d
       Decimal
       x
       Hexadecimal

       In  addition  to	 the above format specifiers, -c can be used to denote
       ASCII format.  This is the same as 1x except that codes are printed  as
       printable ASCII characters or Limbo escape sequences where possible.

OPTIONS
       -u	 Unbuffered  output.   The  output buffer is flushed after the
		 dump of each 16 byte input chunk has been generated.

       -r	 Mark repeated 16 byte input chunks.  The first chunk is  out‐
		 put  as  per  the  format specifiers, followed by an asterisk
		 representing 1 or more occurrences of identical data.

       -s	 Reverse the order of input bytes in chunks of 4  before  pro‐
		 cessing for output.

       -astyle	 Print file addresses in the given style.

SOURCE
       /appl/cmd/xd.b

BUGS
       There  is  no means of dumping 2 or 8 byte wide values in little-endian
       form.

									 XD(1)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net