aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRatakor <ratakor@disroot.org>2023-09-16 18:33:04 +0200
committerRatakor <ratakor@disroot.org>2023-09-16 18:33:04 +0200
commitbaef9cc1f54b92d36db9ed9c0257dbe5a09050c9 (patch)
tree83be5b6cb644ed5c6e3b3caf4377e4a8cec6758f
parent2144fe54b04173b3331fcad63e445233c505d25f (diff)
Fix extensions
-rw-r--r--examples/LostKingdom.b (renamed from examples/LostKingdom.bf)0
-rw-r--r--examples/awib-0.4.b (renamed from examples/awib-0.4.bf)0
-rw-r--r--examples/bf2c.b (renamed from examples/bf2c.bf)0
-rw-r--r--examples/bfi.b (renamed from examples/bfi.bf)0
-rw-r--r--examples/cell.b (renamed from examples/cell.bf)0
-rw-r--r--examples/e.b (renamed from examples/e.bf)0
-rw-r--r--examples/facto.b (renamed from examples/facto.bf)2
-rw-r--r--examples/factor.b (renamed from examples/factor.bf)0
-rw-r--r--examples/fibo.b (renamed from examples/fibo.bf)0
-rw-r--r--examples/golden.b (renamed from examples/golden.bf)0
-rw-r--r--examples/head.b (renamed from examples/head.bf)0
-rw-r--r--examples/hello.b (renamed from examples/hello.bf)0
-rw-r--r--examples/life.b (renamed from examples/life.bf)0
-rw-r--r--examples/long.b (renamed from examples/long.bf)0
-rw-r--r--examples/mandelbrot.b (renamed from examples/mandelbrot.bf)0
-rw-r--r--examples/pi.b (renamed from examples/pi.bf)0
-rw-r--r--examples/sierpinski.b (renamed from examples/sierpinski.bf)0
-rw-r--r--examples/tic-tac-toe.b (renamed from examples/tic-tac-toe.bf)0
-rw-r--r--examples/wc.b (renamed from examples/wc.bf)0
-rw-r--r--src/bf.c2
-rw-r--r--src/bf.s2
21 files changed, 3 insertions, 3 deletions
diff --git a/examples/LostKingdom.bf b/examples/LostKingdom.b
index c06f7e4..c06f7e4 100644
--- a/examples/LostKingdom.bf
+++ b/examples/LostKingdom.b
diff --git a/examples/awib-0.4.bf b/examples/awib-0.4.b
index 7c29cc4..7c29cc4 100644
--- a/examples/awib-0.4.bf
+++ b/examples/awib-0.4.b
diff --git a/examples/bf2c.bf b/examples/bf2c.b
index 22aaf2f..22aaf2f 100644
--- a/examples/bf2c.bf
+++ b/examples/bf2c.b
diff --git a/examples/bfi.bf b/examples/bfi.b
index a2df726..a2df726 100644
--- a/examples/bfi.bf
+++ b/examples/bfi.b
diff --git a/examples/cell.bf b/examples/cell.b
index 1dce918..1dce918 100644
--- a/examples/cell.bf
+++ b/examples/cell.b
diff --git a/examples/e.bf b/examples/e.b
index 1d021e6..1d021e6 100644
--- a/examples/e.bf
+++ b/examples/e.b
diff --git a/examples/facto.bf b/examples/facto.b
index c70c7c4..00d1629 100644
--- a/examples/facto.bf
+++ b/examples/facto.b
@@ -1,4 +1,4 @@
-[facto.bf -- compute factorials
+[facto.b -- compute factorials
(c) 2019 Daniel B. Cristofani
http://brainfuck.org/]
diff --git a/examples/factor.bf b/examples/factor.b
index 43f06ba..43f06ba 100644
--- a/examples/factor.bf
+++ b/examples/factor.b
diff --git a/examples/fibo.bf b/examples/fibo.b
index 85bdace..85bdace 100644
--- a/examples/fibo.bf
+++ b/examples/fibo.b
diff --git a/examples/golden.bf b/examples/golden.b
index 08ea70c..08ea70c 100644
--- a/examples/golden.bf
+++ b/examples/golden.b
diff --git a/examples/head.bf b/examples/head.b
index fcce4f8..fcce4f8 100644
--- a/examples/head.bf
+++ b/examples/head.b
diff --git a/examples/hello.bf b/examples/hello.b
index 265e751..265e751 100644
--- a/examples/hello.bf
+++ b/examples/hello.b
diff --git a/examples/life.bf b/examples/life.b
index e068233..e068233 100644
--- a/examples/life.bf
+++ b/examples/life.b
diff --git a/examples/long.bf b/examples/long.b
index 84fa9e8..84fa9e8 100644
--- a/examples/long.bf
+++ b/examples/long.b
diff --git a/examples/mandelbrot.bf b/examples/mandelbrot.b
index de63021..de63021 100644
--- a/examples/mandelbrot.bf
+++ b/examples/mandelbrot.b
diff --git a/examples/pi.bf b/examples/pi.b
index 1672bf6..1672bf6 100644
--- a/examples/pi.bf
+++ b/examples/pi.b
diff --git a/examples/sierpinski.bf b/examples/sierpinski.b
index 71f2abf..71f2abf 100644
--- a/examples/sierpinski.bf
+++ b/examples/sierpinski.b
diff --git a/examples/tic-tac-toe.bf b/examples/tic-tac-toe.b
index b2d8fc7..b2d8fc7 100644
--- a/examples/tic-tac-toe.bf
+++ b/examples/tic-tac-toe.b
diff --git a/examples/wc.bf b/examples/wc.b
index 28d9984..28d9984 100644
--- a/examples/wc.bf
+++ b/examples/wc.b
diff --git a/src/bf.c b/src/bf.c
index 69b0f41..ee8176f 100644
--- a/src/bf.c
+++ b/src/bf.c
@@ -25,7 +25,7 @@ main(int argc, char *argv[])
int fd;
if (argc != 2)
- die("usage: bf file.bf\n");
+ die("usage: bf file.b\n");
if ((fd = open(argv[1], O_RDONLY)) < 0)
die("error: failed to open file\n");
diff --git a/src/bf.s b/src/bf.s
index 4591418..63e81f0 100644
--- a/src/bf.s
+++ b/src/bf.s
@@ -15,7 +15,7 @@ default rel
section .rodata
max_codesize equ 32768 ; must be an integral multiple of the page size
- error_input_str db "usage: bf file.bf", 0x0a
+ error_input_str db "usage: bf file.b", 0x0a
error_input_str_len equ $ - error_input_str
error_open_failed db "bf: failed to open file", 0x0a
error_open_failed_len equ $ - error_open_failed