File: 02_typos.patch

package info (click to toggle)
bomstrip 9-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 236 kB
  • sloc: pascal: 41; cpp: 34; ansic: 34; java: 33; python: 31; sh: 24; makefile: 22; perl: 7; haskell: 6; php: 6; ruby: 6; awk: 2; sed: 1
file content (34 lines) | stat: -rw-r--r-- 1,042 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Correct a typographical error.
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2017-01-09

--- a/bomstrip_expl.bf
+++ b/bomstrip_expl.bf
@@ -10,10 +10,10 @@
 	[>>+<+<-]>>
 	And we put our constant after it; as the number 239 itself 
 	is a prime we use 240 which factorizes nicely as 2^4 * 3 * 5
-	and substract one from it
+	and subtract one from it
 	>>>>+++++[<++++>-]<[<++++>-]<[<+++>-]<-
 
-	While our constant is not zero we substract one from it and also
+	While our constant is not zero we subtract one from it and also
 	from the input byte
 	[<->-]
 
@@ -38,11 +38,11 @@
 			[>>+<+<-]>>
 		
 			And we put our constant again next to it; 
-			We first calculate 189; which is 3^3 * 7 and substract 2
+			We first calculate 189; which is 3^3 * 7 and subtract 2
 			>>>>+++++++[<+++>-]<[<+++>-]<[<+++>-]<-- The number 0xBB
 
 
-			While our constant is not zero we substract one from it and also
+			While our constant is not zero we subtract one from it and also
 			from the input byte
 
 			[<->-]