07-17-2018
I give up - don't understand this vague specification and inconsistency between input, logics, and desired output, and thus can't propose anything serious.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a table with 10 columns. Some columns(2nd,4th,5th,7th,8th and 10th) are Not Null columns. I'll get a tab-delimited file and want to check col by col and generate seperate error code for each col eg:102 if 2nd col value is NULL and 104 if 4th col value is NULL so on... I am a... (7 Replies)
Discussion started by: Mandab
7 Replies
2. Shell Programming and Scripting
Hi All,
I have a file which is having 3 columns as (string string integer)
a b 1
x y 2
p k 5
y y 4
.....
.....
Question:
I want get the unique value of column 2 in a sorted way(on column 2) and the sum of the 3rd column of the corresponding rows. e.g the above file should return the... (6 Replies)
Discussion started by: amigarus
6 Replies
3. Shell Programming and Scripting
Hi, my requirement is to sum values in a row.
eg:
input is: sum,value1,value2,value3,.....,value N
Required Output: sum,<summation of N values>
Please help me... (5 Replies)
Discussion started by: MrGopal666
5 Replies
4. Shell Programming and Scripting
Hi All,
I have two sets of files.
Set 1: 100 text files with extension .txt with names like 1.txt, 2.txt, 3.txt until 100.txt
Set 2: One big file with extension .dat
The text files have some records in columns like this:
0.7316431 82628
0.7248189 82577
0.7248182 81369
0.7222999... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
5. UNIX for Dummies Questions & Answers
I want to get count on number of records in a few folders by running grep command for more than two columns in a row of fixed length file.
suppose if i have a fixed length file has 5 columns and I want to see the record counts for country =can and province = bc and time stamp <= 12 feb 2013... (14 Replies)
Discussion started by: princetd001
14 Replies
6. Shell Programming and Scripting
Hello out there,
file.txt:
comp51820_c1_seq1 42 N 0:0:0:0:0:0 1:0:0:0:0:0 0:0:0:0:0:0 3:0:0:0:0:0 0:0:0:0:0:0
comp51820_c1_seq1 43 N 0:0:0:0:0:0 0:1:0:0:0:0 0:0:0:0:0:0 0:3:0:0:0:0 0:0:0:0:0:0
comp51820_c1_seq1 44 N 0:0:4:0:3:1 0:0:1:9:0:0 10:0:0:0:0:0 0:3:3:2:2:6 2:2:2:5:60:3... (16 Replies)
Discussion started by: pathunkathunk
16 Replies
7. UNIX for Dummies Questions & Answers
Hi would like to ask you guys any advise regarding my problem
I have this kind of data
file.txt
111111111,20
111111111,50
222222222,70
333333333,40
444444444,10
444444444,20
I need to get this
file1.txt
111111111,70
222222222,70
333333333,40
444444444,30
using this code I can... (6 Replies)
Discussion started by: reks
6 Replies
8. Shell Programming and Scripting
Hi,
I am a new bie i need some help with respect to shell onliner;
I have data in following format
Name FromDate UntilDate Active Changed Touched
Test 28-03-2013 28-03-2013 1 0.6667 100
Test2 28-03-2013 03-04-2013 ... (1 Reply)
Discussion started by: gangaraju6
1 Replies
9. Shell Programming and Scripting
I have a file (let say file B) like this:
File B:
A1 3 5
A1 7 9
A2 2 5
A3 1 3
The first column defines a filename and the other two define a range in that specific file. In the same directory, I have also three more files (File A1, A2 and A3). Here is 10 sample lines... (3 Replies)
Discussion started by: Bastami
3 Replies
10. Shell Programming and Scripting
Hi Experts,
Please bear with me, i need help
I am learning AWk and stuck up in one issue.
First point : I want to sum up column value for column 7, 9, 11,13 and column15 if rows in column 5 are duplicates.No action to be taken for rows where value in column 5 is unique.
Second point : For... (12 Replies)
Discussion started by: as7951
12 Replies
MAUDE(1) General Commands Manual MAUDE(1)
NAME
Maude - A high-performance logical framework
SYNOPSIS
maude [options] [files]
DESCRIPTION
This manual page documents briefly the Maude interpreter. This manual page was written for the Debian distribution because the original
program does not have a manual page.
Maude is a high-performance reflective language and system supporting both equational and rewriting logic specification and programming for
a wide range of applications. Maude has been influenced in important ways by the OBJ3 language, which can be regarded as an equational
logic sublanguage. Besides supporting equational specification and programming, Maude also supports rewriting logic computation.
Rewriting logic is a logic of concurrent change that can naturally deal with state and with concurrent computations. It has good properties
as a general semantic framework for giving executable semantics to a wide range of languages and models of concurrency. In particular, it
supports very well concurrent object-oriented computation. The same reasons making rewriting logic a good semantic framework make it also a
good logical framework, that is, a metalogic in which many other logics can be naturally represented and executed.
Maude supports in a systematic and efficient way logical reflection. This makes Maude remarkably extensible and powerful, supports an
extensible algebra of module composition operations, and allows many advanced metaprogramming and metalanguage applications. Indeed, some
of the most interesting applications of Maude are metalanguage applications, in which Maude is used to create executable environments for
different logics, theorem provers, languages, and models of computation.
--help display help information
--version
Display version number
-no-prelude
Do not read in the standard prelude
-no-banner
Do not output banner on startup
-no-advice
No advisories on startup
-no-mixfix
Do not use mixfix notation for output
-no-wrap
Do not automatic line wrapping for output
-ansi-color
Use ANSI control sequences
-no-ansi-color
Do not use ANSI control sequences
-tecla Use tecla command line editing
-no-tecla
Do not use tecla command line editing
-batch Run in batch mode
-interactive
Run in interactive mode
-random-seed=<int>
Set seed for random number generator
-xml-log=<filename>
Set file in which to produce an xml log
COPYRIGHT
Copyright (c) 1997-2011 SRI International, Menlo Park, CA 94025, USA.
Copyright (c) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
Copyright (c) 2000 - 2003, Richard J. Wagner
REPORTING BUGS
Send bug reports to: maude-bugs@maude.cs.uiuc.edu
SEE ALSO
Websites:
http://maude.cs.uiuc.edu/
Official Maude website
Mailing lists:
http://lists.cs.uiuc.edu/mailman/listinfo/maude-users
A moderated list for the discussion of topics of general interest to all Maude users.
http://lists.cs.uiuc.edu/mailman/listinfo/maude-help
Help list for questions about using Maude.
AUTHOR
This manual page was written by Scott Christley <schristley@mac.com> based upon the Maude help text.
February 2011 MAUDE(1)