Hi everyone,
I have a file in which a word is repeated more than one time and I want to know how many times it is repeated.
ex: if i repeated word 'guru' in 10 lines I can get the o/p as:
cat filename | grep -c 'guru'.
How ever if the word is repeated more than one time, then how can I... (4 Replies)
Hi expert,
I am using C shell. And i trying to delete repeated word.
Example file.txt:
BLUE
YELLOW
RED
VIOLET
RED
RED
BLUE
WHITE
YELLOW
BLACK
and i wan store the output into a new file:
BLUE (6 Replies)
Hi,
I am using a mail application, When I use to check with the command, I will get the outputs as
q -s
6128175 (9, 9/6128175)
Return-path: minka.bell@abcd.org
From: "Minka Bell" <minka.bell@abcd.org>
To: <dcrouch@xyz.org>,
Subject: Open items with new PICT system
Date: Wed,... (12 Replies)
Hi Pls help in solving my doubt.Iam having file like below
file1.txt
priya
jenny
jenny
priya
raj
radhika
priya
bharti
bharti
Output required:
I need a output like count of repeated words with name for ex:
priya 3
jenny 2 (4 Replies)
Hello friends!
Each line of my input file has this format:
word<TAB>tag1<blankspace>lemma<TAB>tag2<blankspace>lemma ... <TAB>tag3<blankspace>lemma
Of this file I need to eliminate all the repeated tags (of the same word) in a line, as in the example here below, but conserving both (all) the... (2 Replies)
Hi.
How can I write this differently:
awk '$3 ~ /0001/{print}'
Is there a way to write 0001 differently. I am looking for the pattern 01, with 3 or more 0 and 3 or more 1 in a pattern.
Thanks. (12 Replies)
I have a text file where I need to find the string = ST*850*
This string is repetaed several times in the file, so I need to know how many times it appears in the file, this is the text files:
ISA*00* *00* *08*925485USNR *ZZ*IMSALADDERSP... (13 Replies)
Hi,
I have this text file with these words and I need help with removing words with repeated letter from these lines.
1 ama
5 bib
29 bob
2 bub
5 civic
2 dad
10 deed
1 denned
335 did
1 eeee
1 eeeee
2 eke
8... (4 Replies)
Discussion started by: crepe6
4 Replies
LEARN ABOUT DEBIAN
tangram::type::set::fromone
Tangram::Type::Set::FromOne(3pm) User Contributed Perl Documentation Tangram::Type::Set::FromOne(3pm)NAME
Tangram::Type::Set::FromOne - map Set::Object using a foreign key
SYNOPSIS
use Tangram;
# or
use Tangram::Core;
use Tangram::Type::Set::FromOne;
$schema = Tangram::Schema->new(
classes => { Basket => { fields => {
iset =>
{
# long form
fruits =>
{
class => 'Fruit',
coll => 'basket',
},
# or (short form)
fruits => 'Fruit',
}
DESCRIPTION
This class maps references to Set::Object collections in an intrusive fashion. The persistent fields are grouped in a hash under the "iset"
key in the field hash.
The set may contain only objects of persistent classes. These classes must have a common persistent base class.
Tangram uses a column on the element's table to store the id of the object containing the collection.
CAUTION: the same object may not be an element of the same collection, in two different objects. This mapping may be used only for one-to-
many relationships.
The field names are passed in a hash that associates a field name with a field descriptor. The field descriptor may be either a hash or a
string. The hash uses the following fields:
* class
Mandatory field "class" specifies the class of the elements.
* aggreg
Optional field "aggreg" specifies that the elements of the collection must be removed (erased) from persistent storage along with the
containing object. The default is not to aggregate.
* back
Optional field "back" sets the name of a field that is inserted in the elements. That field acts as a demand-loaded, read-only refer-
ence to the object containing the collection.
* coll
Optional field "coll" sets the name the column containing the id of the containing object. This defaults to 'C_m', where 'C' is the
class of the containing object (after passing through the normalisation function), and 'm' is the field name.
* deep_update
Optional field "deep_update" specificies that all elements have to be updated automatically when "update" is called on the collection
object. Automatic update ensures consisitency between the Perl representation and the DBMS state, but degrades update performance so
use it with caution. The default is not to do automatic updates.
If the descriptor is a string, it is interpreted as the name of the element's class. This is equivalent to specifying only the "class"
field in the hash variant.
perl v5.8.8 2006-03-29 Tangram::Type::Set::FromOne(3pm)