[...]
i have a var called fname="req_detail_TAM.dat"
and is have a search string var as tmp="TAM".
Now my requirement is i need to check whether a "fname" is contains "search str" or not. if search string is part of the filename, then i need to store value 1 in a variable called "flag" else i need to assign 0 to flag.
Hello Gurus,
Apologies if this Q has been repeated but i was not able to find it :(
I have an input file:
-------------------------------
Replace DB.Employee
as
select
column1
column2
from DB_T.Emp
and DB.Test
and
DB.Dept
and
DB_T.Ter;
------------------------ (4 Replies)
Hi,
I have list of directory paths in a variable and i want to delete those dirs and if dir does not exist then search that string and get the correct path from xml file after that delete the correct directory. i tried to use grep and it prints the entire line from the search.once i get the entire... (7 Replies)
Im currently working on a Script using PICO editor, the scripts purpose is :
When you typed a certain "word" and press enter, All directories, Script, and any other files that contain that "word" will be displayed.. for example i typed "DOG".. all executable script, Directories, and any other... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Im currently doing a search command.. for example , when i typed a certain word , lets say "DOG".. all... (7 Replies)
Hi
I have requirement to search string starting with specific characters and print whole matching word in that string.
example
mystr="ATTRIBUTE NAME="Event Name" VALUE="Execute""
I want to search by passing "NAME=" and result should be NAME="Event Name".
i am using below command but... (3 Replies)
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Hi All
i need to replace the url1 inside <remote> tag in below xml in first instance and in the second instance with url2.
any help appreciated
<locations>
<hudson.scm.SubversionSCM_-ModuleLocation>
<remote>https://svn2015.com/svn/repos/internalshard</remote>
... (4 Replies)
I am trying to figure out to find word count of each word from my file
sample file
hi how are you
hi are you ok
sample out put
hi 1
how 1
are 1
you 1
hi 1
are 1
you 1
ok 1
wc -l filename is not helping , i think we will have to split the lines and count and then print and also... (4 Replies)
I have a multicolumn text file with header in the first row like this
The headers are stored in an array called . which contains I want to search for each elements of this array from that multicolumn text file. And I am using this awk approach
for ii in ${hdr}
do
gawk -vcol="$ii" -F... (1 Reply)
Discussion started by: Atta
1 Replies
LEARN ABOUT DEBIAN
clmimac
clm imac(1) USER COMMANDS clm imac(1)
NAME
clm imac - Interpret Matrices (c.q. MCL iterands output by mcl) As Clusterings.
clmimac is not in actual fact a program. This manual page documents the behaviour and options of the clm program when invoked in mode imac.
The options -h, --apropos, --version, -set, --nop are accessible in all clm modes. They are described in the clm manual page.
SYNOPSIS
clm imac -imx <fname> [options]
clm imac -imx fname (input file) [-o fname (name/stem for output)] [-dag fname (output DAG)] [-overlap str (overlap mode)] [-sort str
(size|revsize|lex|none)] [-strict num (in 0..1)] [-h (print synopsis, exit)] [--apropos (print synopsis, exit)] [--version (print version,
exit)]
DESCRIPTION
Use clm imac to interpret matrices (as clusterings) output by mcl using mcl's -dump ite option.
Use clm imac only if you have a special reason; the normal usage of mcl is to do multiple runs for varying -I parameters and use the clus-
terings output by mcl itself. One reason is if you are interested in clusterings with overlap; early MCL iterands generally induce cluster-
ings possessing overlap. Another reason is to investigate how the cluster structure associated with the MCL process evolves over time.
OPTIONS
-imx fname (input file)
The input file is presumably an MCL iterand resulting from the mcl option -dump ite.
-strict num (in 0..1)
Higher values (up until 1) will thin out the DAG constructed by clm imac. The default value is 0.00001, yielding the full DAG.
-o fname (file name/stem)
Write to file named fname.
-dag fname (output DAG)
Write the DAG (directed acyclic graph) constructed from the input to file. This DAG is constructed according to the structure associated
with diagonally positive semi-definite matrices as described in the PhD thesis Graph clustering by flow simulation. Consult mclfamily(7)
for references.
-sort str (size|revsize|lex|none)
Sort the clusters either by increasing size, decreasing size, lexicographically by the indices they contain, or use the clustering exactly
as obtained from the interpretation routine.
-overlap mode (overlap mode)
With mode set to cut, remove any overlap by allocating the nodes in overlap to the first cluster in which they were found. Mode keep
leaves overlap unchanged, and mode split results in overlapping parts excised and introduced as clusters in their own right.
AUTHOR
Stijn van Dongen.
SEE ALSO
mclfamily(7) for an overview of all the documentation and the utilities in the mcl family.
clm imac 12-068 8 Mar 2012 clm imac(1)