чување 9b0bfbf7de5021a93724970de057998b4b159259
родитељ 73f98e3fa2abddbe350718ae74a7111cf1f48f68
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Wed, 21 Jan 2026 17:29:23 +0100
Small documentation fixes
Diffstat:
измењених датотека: 3, додавања: 10(+), брисања: 8(-)
diff --git a/INSTALL b/INSTALL
@@ -2,6 +2,8 @@ Prerequisites
=============
* C compiler - defaults in config.mk
+* YACC - part of comp?? in OpenBSD, GNU Bison in GNU/Linux or other
+* Flex - part of comp?? in OpenBSD
Install
diff --git a/README b/README
@@ -15,10 +15,10 @@ digital dust off a batch of my old files. Unfortunately, the original
source doesn't compile under modern C++ compilers, so I decided to
rewrite it, this time in C, using yacc/flex.
-Its main idea is to take a logical expression, consisting of variable
-names, brackets and logical operators, and for each combination of
-values of different variables output the values of the variables and the
-evaluated value of the expression.
+Its main idea is to take a logical expression, consisting of variable
+names, parentheses and logical operators, and for each combination of
+values of different variables output the values of the variables and
+the evaluated value of the expression.
License
diff --git a/bool.1.in b/bool.1.in
@@ -17,9 +17,9 @@
.Nm
is a logical expression tester.
It takes a logical expression as input, containing logical variable names,
-brackets and logical operators, and for each combination of values of different
-variables outputs the values of variables and the evaluated value of the
-expression, separated by TAB characters (like a TSV table).
+parentheses and logical operators, and for each combination of values of
+different variables outputs the values of variables and the evaluated value of
+the expression, separated by TAB characters (like a TSV table).
.Bl -tag -width Ds
.It Fl d
Debug mode: output extended debug information in addition to the simulation
@@ -48,7 +48,7 @@ Variable identifier.
Identifiers consist of one or more uppercase and lowercase latin letters and
digits.
An identifier cannot start with a digit.
-.It Ar expr Ms \[u007C] Ar expr
+.It Ar expr Ms \[or] Ar expr
Logical OR (disjunction).
.It Ar expr Ms & Ar expr
Logical AND (conjunction).