booldnf(1)booldnf(1)NAME
booldnf - converts a boolean expression to the DNF
SYNOPSIS
echo 'a&(!b|c&!d)' | booldnf > result.txt
DESCRIPTION
booldnf is a program that reads boolean expressions from its standard input and rewrites them in Disjunctive Normal Form on its standard
output. It uses the BoolStuff library.
The Disjunctive Normal Form is an ORing of ANDed terms. In other words, if the OR is considered an additive operation and the AND a multi-
plicative operation, then the DNF is a sum of products.
Each expression must be on its own text line. Variable names must be composed only of ASCII letters and digits.
The AND operator is &, the OR operator is |, and the NOT operator is !. Parentheses are allowed.
The command flushes its output buffer after each result or error message, to make sure that it can be used with bidirectional pipes.
Results and error messages always take exactly one text line.
EXAMPLES
The command
echo 'a&(!b|c&!d)' | booldnf
should display
a&c&!d|a&!b
LICENSE
This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no
warranty.
AUTHOR
See the boolstuff(3) manual page.
BUGS
See the boolstuff(3) manual page.
October 13th, 2008 booldnf(1)
Check Out this Related Man Page
Max(3pm) LogReport's Lire Documentation Max(3pm)NAME
Lire::Max - Lire class that implements the max operator
SYNOPSIS
use Lire::Max
DESCRIPTION
Class that implements the max operator. This operator will find the minimum value appearing in a DLF field among a group of DLF records.
METHODS
new( %params )
Creates a new Lire::Max object.
SEE ALSO Lire::ReportSpec(3pm), Lire::ReportOperator(3pm), Lire::Aggregator(3pm), Lire::Aggregate(3pm).
AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: Max.pm,v 1.10 2008/03/09 19:27:31 vanbaal Exp $
COPYRIGHT
Copyright (C) 2001, 2002 Stichting LogReport Foundation LogReport@LogReport.org
This file is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2008-03-09 Max(3pm)
Hi
I want to display "echo command value in loop" in single line. My requirement is to show the input file (test_1.txt) like the output file (test_2.txt) given below.
Input file :test_1.txt
a1|b1|4|5
a1|b1|42|9
a2|b2|32|25
a1|b1|2|5
a3|b3|4|8
a2|b2|14|6
Output file:test_2.txt... (2 Replies)
Hi all
I have the following question:
With this command, I get the latest file in a directory.
lastfile =`ls -1tr | tail -n 1`
echo $lastfile
The output is then:
partner131210.txt (meaning 13th December 2010)
My goal is to get the date into a variable and to obtain a final variable... (4 Replies)
Hi all
I need you help to create script get the below output
Thanks in advance.
Ashan
name.txt
Wymouth_MRI_Lun79
PACS DR TEMP R drive
stat.txt
NO Normal
Normal
Out need
Wymouth_MRI_Lun79 NO Normal
PACS DR TEMP R drive Normal (1 Reply)