01-24-2008
Hey mate,
Thanks alot for your suggestions. Unfort, i'm sorry, its still doesnt produce the result I'm looking...
Think there are any other logics to achieving this?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello People,
Need some assistance/guidance.
OUTLINE:
Two files (File1 and File2)
File1 has some ids such as
009463_3922_1827
897654_8764_5432
File2 has things along the lines of:
Query= 009463_3922_1827 length=252
(252 letters)
More stufff here
... (5 Replies)
Discussion started by: Deep9000
5 Replies
2. Shell Programming and Scripting
Input
#GEO-1-type-1-fwd-Initial 890 1519
OPKHIJEFVTEFVHIJEFVOPKHIJTOPKEFVHIJTEFVOPKOPKHIJHIJHIJTTOPKHIJHIJEFVEFVOPKHIJOPKHIJOPKEFVEFVOPKHIJHIJEFVHIJHIJEFVTHIJOPKOPKTEFVEFVEFVOPKHIJOPKOPKHIJTTEFVEFVTEFV
#GEO-1-type-2-fwd-Terminal 1572 2030... (7 Replies)
Discussion started by: patrick87
7 Replies
3. Shell Programming and Scripting
I have sql file containing lot of queries on different database table. I have to filter specific table queries.
Let say i need all queries of test1,test2,test3 along with four lines above it and sql queries can be multi lines or in single line.
Input file contains.
set INSERT_ID=1;
set... (1 Reply)
Discussion started by: mirfan
1 Replies
4. Shell Programming and Scripting
I have following pattern in a file:
00:01:38 UTC
abcd
00:01:48 UTC
00:01:58 UTC
efgh
00:02:08 UTC
00:02:18 UTC
and I need to change something like the following
00:01:38 UTC
abcd
00:01:48 UTC
XXXX
00:01:58 UTC
efgh
00:02:08 UTC
XXXX (6 Replies)
Discussion started by: jjnight
6 Replies
5. Shell Programming and Scripting
Data:
Pattern Data Data Data
Data Data Data
Data Data Data
...
With awk, how do I print the pattern matching line, then the subsequent lines following the pattern matching line. Varying number of lines following the pattern matching line. (9 Replies)
Discussion started by: dmesserly
9 Replies
6. Shell Programming and Scripting
I need to match two patterns in a log file and need to get the next line of the one of the pattern (out of two patterns) that is matched,
finally need to print these three values in a single line.
Sample Log:
2013/06/11 14:29:04 <0999> (725102) Processing batch 02_1231324
2013/06/11... (4 Replies)
Discussion started by: rpm120
4 Replies
7. Shell Programming and Scripting
Hello Experts , require help . See below output:
File inputs
------------------------------------------
Server Host = mike
id rl images allocated last updated density
vimages expiration last read <------- STATUS ------->... (4 Replies)
Discussion started by: tigerhills
4 Replies
8. Shell Programming and Scripting
Not sure how I can accomplish this. I would like to remove all interfaces that have the commands I would like to see: switchport port-security, spanning-tree portfast. One line is no problem.
interface FastEthernet0/8
spanning-tree portfast
interface FastEthernet0/9
spanning-tree... (4 Replies)
Discussion started by: mrlayance
4 Replies
9. Shell Programming and Scripting
GM,
I have an issue at work, which requires a simple solution. But, after multiple attempts, I have not been able to hit on the code needed.
I am assuming that sed, awk or even perl could do what I need.
I have an application that adds extra blank page feeds, for multiple reports, when... (7 Replies)
Discussion started by: jxfish2
7 Replies
10. Shell Programming and Scripting
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine lines through a line that ends with a semicolon.
3. Ignore case when matching patterns and remove any... (5 Replies)
Discussion started by: Wes Kem
5 Replies
MONA(1) BRICS tools MONA(1)
NAME
mona - a decision procedure for the logics WS1S and WS2S
SYNOPSIS
mona [ options ] mona-file
DESCRIPTION
MONA is a tool that translates formulas in the logics WS1S or WS2S into finite-state automata represented by BDDs. The formulas may
express search patterns, temporal properties of reactive systems, parse tree constraints, etc. MONA also analyses the automaton resulting
from the compilation, and determines whether the formula is valid and, if the formula is not valid, generates a counter-example.
The MONA project is a research project at the BRICS Research Center at University of Aarhus, Denmark.
Full documentation, GPL source code, and related research papers are available from the MONA project home page at http://www.brics.dk/mona
OPTIONS
-w Output whole automaton. Default is to only output its size.
-n Don't analyze automaton. Default is to analyze for validity and unsatisfiability and to generate a satisfying example and counter-
example.
-t Print elapsed time for each phase. If -s is also used, the time for each automaton operation is also printed.
-s Print statistics. Prints information for each automaton operation and a summary.
-i Print intermediate automata (implies -s).
-d Dump AST, symboltable, and code DAG. Useful for debugging.
-q Quiet, don't print progress.
-e Enable separate compilation. (See the MONALIB environment variable below.)
-oN Code optimization level N (0=none, 1=safe, 2=heuristic) (default 1).
-r Disable BDD index reordering, use order of declaration as index ordering. Default is to reorder BDD indices heuristically.
-f Force normal tree-mode output style. Only applicable for WSRT mode.
-m Alternative M2L-Str emulation (v1.3 style).
-h Enable inherited acceptance analysis.
-u Unrestrict output automata. Create conventional automata by converting "don't-care" states to "reject" states and minimizes.
-gw Output whole automaton in Graphviz format (implies -n -q). (Graphviz is available at
http://www.research.att.com/sw/tools/graphviz/)
-gs Output satisfying example tree in Graphviz format (implies -q).
-gc Output counter-example tree in Graphviz format (implies -q).
-gd Dump code DAG in Graphviz format (implies -n -q).
-xw Output whole automaton in external format (implies -n -q). "External format" is the format used by dfalib and gtalib, see the source
package.
ENVIRONMENT
MONALIB
Defines the directory used for separate-compilation automata (default is current directory).
BUGS
Please send bug reports to <mona@brics.dk>
AUTHORS
Anders Moeller <amoeller@brics.dk>, Nils Klarlund, Jacob Elgaard, Theis Rauhe, and Morten Biehl.
FEBRUARY 2008 MONA(1)