From d46088ec0d0f280876372683bf558945c6ed29b5 Mon Sep 17 00:00:00 2001 From: Igor Date: Sun, 17 Jan 2010 22:21:36 +0300 Subject: Updated README --- README | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README b/README index be42fc9..169792a 100644 --- a/README +++ b/README @@ -9,8 +9,11 @@ Options (defaults are in brackets): -s num stack size (128) -d num data size (30000) -Output formats for operator '.': +Formats for operators '.' and ',' (output and input): -c, -i, -u, -o, -x char, signed int, unsigned int, octal, hexadecimal + octal number must be prepended by '0' (zero), + and hexadecimal - by '0x' +Default i/o format: -i -h this help message @@ -19,9 +22,10 @@ Output formats for operator '.': Standard operators: <>+-[]., Extensions: - ciuox - change format output (same as -c & others, see above) + ciuox - change i/o format (same as -c & others above) ; - end of code (useful when reading stdin) # - comment to the end of line (useful when reading files) Example: - echo '+++[.-]' | ./brainfuck + echo '+++[.-]' | ./brainfuck # count down from 3 to 0 + echo ',+++.;5' | ./brainfuck # shows 8 -- cgit v1.2.3