summaryrefslogtreecommitdiffstats
path: root/doc/bbe.1
diff options
context:
space:
mode:
authorTimo Savinen <tjsa@iki.fi>2005-09-27 14:29:01 +0000
committerHadrien Dorio <hadrien.dorio@gmail.com>2017-12-16 00:24:05 +0100
commit11460c1f56ed4939c8f0df0482059f5fecd289fa (patch)
tree4734a3d9bd595f2e0b9c4a2d57ba04a3c1b8c287 /doc/bbe.1
parentb9eb6e4429575318d3c510b99961093c42321529 (diff)
downloadbinary-block-editor-11460c1f56ed4939c8f0df0482059f5fecd289fa.tar.gz
binary-block-editor-11460c1f56ed4939c8f0df0482059f5fecd289fa.zip
0.1.2
Diffstat (limited to 'doc/bbe.1')
-rw-r--r--doc/bbe.122
1 files changed, 17 insertions, 5 deletions
diff --git a/doc/bbe.1 b/doc/bbe.1
index 6426ed1..599ec5b 100644
--- a/doc/bbe.1
+++ b/doc/bbe.1
@@ -94,7 +94,7 @@ hexadecimal
\\0nnn
octal
.LP
-Character '\\' can be escaped as '\\\\'.
+Character '\\' can be escaped as '\\\\'. Escape codes '\\a','\\b','\\t','\\n','\\v','\\f','\\r' and '\\;' can also be used.
.LP
Length (N and M) can be defined as decimal (n), hexadecimal (xn) or octal (0n) value.
.SH "COMMAND SYNOPSIS"
@@ -105,11 +105,11 @@ bbe has two type of commands: block and byte commands, both are allways related
D [\fIn\fR]
Delete the \fIn\fR'th block. Without \fIn\fR, all found blocks are deleted from the output stream.
.TP
-A \fIstring\fR
-Append the string \fIstring\fR before the block.
-.TP
I \fIstring\fR
-Insert the string \fIstring\fR at the end of block.
+Insert the string \fIstring\fR before the block.
+.TP
+A \fIstring\fR
+Append the string \fIstring\fR at the end of block.
.TP
J \fIn\fR
Skip \fIn\fR blocks before executing commands after this command.
@@ -168,6 +168,18 @@ Commands after the l\-command are ignored from \fIn\fR'th byte of the block.
.TP
w \fIfile\fR
Write bytes from the current block to file \fIfile\fR. Commands before w\-command have effect to what will be written.
+.TP
+& \fIbyte\fR
+Performs binary and with \fIbyte\fR.
+.TP
+| \fIbyte\fR
+Performs binary or with \fIbyte\fR.
+.TP
+^ \fIbyte\fR
+Performs binary xor with \fIbyte\fR.
+.TP
+~
+Performs binary negation.
.LP
Nonvisible characters in strings can be escaped same way as in block definition strings. Character '/' in s and y commands can be any visible character.
.LP
OpenPOWER on IntegriCloud