Lines Matching refs:file
14 xxd creates a hex dump of a given file or standard input. It can also
18 dard output. Moreover, it can be used to perform binary file patching.
48 Capitalize variable names in C include file style, when using
74 Output in C include file style. A complete static array defini‐
75 tion is written (named after the input file), unless xxd reads
82 Add <offset> to the displayed file position.
90 not writing to stdout, xxd writes into its output file without
97 When used after -r: revert with <offset> added to file positions
102 that the seek is relative to the current stdin file position
105 (or if combined with +: before the current stdin file position).
106 Without -s option, xxd starts at the current file position.
115 If the output file is seekable, then the linenumbers at the start of
118 output file is not seekable, only gaps are allowed, which will be
132 % xxd -i file
134 % xxd -i < file
138 and if stdin's file position is not at the start of the file by the
144 % sh -c "cat > plain_copy; xxd -s 0 > hex_copy" < file
146 Hexdump from file position 0x480 (=1024+128) onwards. The `+' sign
150 < file
152 Hexdump from file position 0x100 ( = 1024-768) on.
154 < file
161 Print everything but the first three lines (hex 0x30 bytes) of file.
162 % xxd -s 0x30 file
164 Print 3 lines (hex 0x30 bytes) from the end of file.
165 % xxd -s -0x30 file
189 Display just the date from the file xxd.1
196 Patch the date in the file xxd.1
201 Create a 65537 byte file with all bytes 0x00, except for the last one
203 % echo "010000: 41" | xxd -r > file
205 Hexdump this file with autoskip.
206 % xxd -a -c 12 file
211 Create a 1 byte file containing a single 'A' character. The number
212 after '-r -s' adds to the linenumbers found in the file; in effect, the
214 % echo "010000: 41" | xxd -r -s -0x10000 > file
242 2 problems with input file.
244 3 problems with output file.