I have 2 files with a common parm - Jobname
File 1
0507 1202 JOBA
0507 1302 JOBB
0507 1452 JOBC
0507 1552 JOBA
0507 1553 JOBA
File2
JOBA abcdefg server4
JOBB defghij server22
JOBC vwxyz12 server55
I would like to take each line from File1 and match the jobname with the jobname... (8 Replies)
Hello all,
New to this forum!
I got a Q: i want to find all files with numbers in the file name. e.g. blabla234.pm or fool654.pl
action i took:
ls | egrep '+'
ls | egrep
ls | egrep +
ls | egrep ''
ls | egrep '(+)'
ls | egrep '()'
ls | egrep '(.*.*)'
ls | egrep '.*.*'
ls | grep... (2 Replies)
I have two files: file a with contents
1
2
3
4
5
file b with contents
6
3
5
8
9
10
i want go get file c which has the common contents of both files
so file c should have contents
3
5 (9 Replies)
Hi
I have 2 files with following data
First file,
sp|Q676U5|A16L1_HUMAN,
Autophagy-related protein 16-1 OS=Homo sapiens GN=ATG16L1 PE=1 SV=2,
Maximum coiled-coil residue probability: 0.657 in position 163.
Maximum dimeric residue probability: 0.288 in position 163.
... (1 Reply)
I've got two files that each contain a 16-digit number in positions 1-16. The first file has 63,120 entries all sorted numerically. The second file has 142,479 entries, also sorted numerically.
I want to read through each file and output the entries that appear in both. So far I've had no... (13 Replies)
Dear All,
I have 2 files. If field 1, 2, 4 and 5 matches in both file1 and file2, I want to print the whole line of file1 and file2 one after another in my output file.
File1:
sc2/80 20 . A T 86 F=5;U=4
sc2/60 55 . G T ... (1 Reply)
Hello, I would like to know what is the three most abundant substrings of length 6 from col2. The file is quite large and looks like this
col1 col2
EN03 typehellobyedogcatcatdog
EN09 typehellobyebyebyebye
EN08 dogcatcatdogbyebyebyebye
EN09 catcattypehellobyebyebyebye... (9 Replies)
Hallo Team,
I have 2 .csv files file A has 47600 lines and file B has 67000 lines
FILEA
SD0o9rb01-1d320ddbcc8d220f572739ebed5f58d1-v300g00
SD8bt0101-a0810bfe0e3396060126ec51b30dac0a-v300g00
SD05sce01-cb056af347ed4651f29eb3c3e9addbd6-v300g00... (3 Replies)
Discussion started by: kekanap
3 Replies
LEARN ABOUT MOJAVE
deleg_method
deleg_method(n) Interpreter utilities deleg_method(n)
__________________________________________________________________________________________________________________________________________________NAME
deleg_method - Creation of comm delegates (snit methods)
SYNOPSIS
package require Tcl 8.3
package require snit ?1.1?
package require interp::delegate::method ?0.2?
::interp::delegate::method ?-async? name arguments comm id
_________________________________________________________________DESCRIPTION
This package provides a single command for use within snit type definition (i.e. actually a snit::macro) for the convenient creation of
methods which delegate the actual work to a remote location via a "channel" created by the package comm.
API
::interp::delegate::method ?-async? name arguments comm id
This commands creates a method which is named by name. All invokations of this method will delegate the actual work to the remote
location identified by the comm channel comm and the endpoint id.
The name of the remote method invoked by the delegator is identical to the name of the method itself.
Normally the generated method marshalls the arguments, and returns the result from the remote method as its own result. If however
the option -async was specified then the generated method will not wait for a result and return immediately.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category interp
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
comm, delegation, interpreter, method, snit
CATEGORY
Programming tools
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
interp 0.2 deleg_method(n)