06-27-2012
Many thanks. The script worked beautifully. I coupled it with an awk script for frequencies and I can now see the output in frequencies and find out which name glosses are more frequent and which are less.
Tested it on around 200 thousand lines and it did the job in around 22 secs. (Had set a timein timeout function.)
10 More Discussions You Might Find Interesting
1. IP Networking
how can i map a shared network drive? Is there any command to perform mapping?
For example if i want to map a shared directory named "wwwroot" in machine "dev001" to my machine's "X" drive, how can it be done??
-Thanks
Sakthi. (1 Reply)
Discussion started by: cs_sakthi
1 Replies
2. UNIX for Advanced & Expert Users
> how the sendmsg and recvmsg calls will know which kernel module to use (SCTP, RTP etc.) internally(kernel mapping: how kernel handle socket call) (1 Reply)
Discussion started by: prangin
1 Replies
3. UNIX for Dummies Questions & Answers
This is my first post and right off the bat, I want to let you know that my experience in UNIX is 2 days only backed up with over 20 years of IT working. So, if this is a dumb question or too stupid, please bear with me.
I read somewhere on the web and also on these forums that you can map your... (7 Replies)
Discussion started by: sssccc
7 Replies
4. Shell Programming and Scripting
Dear Friends,
Please help me on this
I have file A.txt containing text lines as below
grectec; 30 ,50, 60, base_123 ; top09
grectec; 30 ,55, 60, base_123 ; top09
grectec; 10 ,53, 60, base_123 ; top09
grectec; 50 ,57, 60, base_123 ; top09
...
...
another file B.txt containing test... (4 Replies)
Discussion started by: Danish Shakil
4 Replies
5. Shell Programming and Scripting
Hi,
I would like to copy some columns from a particular file by mapping with the string names. i am using the .csv file format.
my one file consist of 100 of columns but i want only particular 4 columns such as ( First_name, Middle_name,Last_name & Stlc). but they are listed in many files... (15 Replies)
Discussion started by: dsh007
15 Replies
6. UNIX for Dummies Questions & Answers
Hi we have a situation where some printers are on a server that sometimes has to be rebooted. If this happens the Unix boxes we have that are referencing the printers in the vfstab file fail to work even when the print server is brought back up. Does anyone know if it would be possible to put... (0 Replies)
Discussion started by: Hadleyshope
0 Replies
7. Shell Programming and Scripting
I have the following arrays with different lengths that I want to map them with the same key.
# Week numbers, 8 columns
@headers = ("2011-34", "2011-35", "2011-36", "2011-37", "2011-38", "2011-39", "2011-40", "2011-41");
%data = ("2011-34", BCE,
"2011-35", YZA,
"2011-36",... (5 Replies)
Discussion started by: tqlam
5 Replies
8. Red Hat
What is the eqiuvalent of /dev/dsk/rdsk in linux vs Solaris (1 Reply)
Discussion started by: walnutpony123
1 Replies
9. Homework & Coursework Questions
Please let me know if mounted on in Unix and Mapping in Windows are same thing??? (1 Reply)
Discussion started by: MZC
1 Replies
10. Shell Programming and Scripting
INPUT
13333--TEXT1
14444--TEXT2
13333--TEXT3
12233--TEXT5
14444--TEXT5
12233--TEXT1
12222--TEXT5
13333--TEXT09
what I'm looking for is something using awk arrays with below given output.
14444--TEXT2,TEXT5
13333--TEXT1,TEXT3,TEXT09
12233--TEXT5,TEXT1
12222--TEXT5 (6 Replies)
Discussion started by: busyboy
6 Replies
LEARN ABOUT SUSE
alter_text_search_configuration
ALTER TEXT SEARCH
CONFIGURATION(7) SQL Commands ALTER TEXT SEARCH CONFIGURATION(7)
NAME
ALTER TEXT SEARCH CONFIGURATION - change the definition of a text search configuration
SYNOPSIS
ALTER TEXT SEARCH CONFIGURATION name
ADD MAPPING FOR token_type [, ... ] WITH dictionary_name [, ... ]
ALTER TEXT SEARCH CONFIGURATION name
ALTER MAPPING FOR token_type [, ... ] WITH dictionary_name [, ... ]
ALTER TEXT SEARCH CONFIGURATION name
ALTER MAPPING REPLACE old_dictionary WITH new_dictionary
ALTER TEXT SEARCH CONFIGURATION name
ALTER MAPPING FOR token_type [, ... ] REPLACE old_dictionary WITH new_dictionary
ALTER TEXT SEARCH CONFIGURATION name
DROP MAPPING [ IF EXISTS ] FOR token_type [, ... ]
ALTER TEXT SEARCH CONFIGURATION name RENAME TO newname
ALTER TEXT SEARCH CONFIGURATION name OWNER TO newowner
DESCRIPTION
ALTER TEXT SEARCH CONFIGURATION changes the definition of a text search configuration. You can modify its mappings from token types to dic-
tionaries, or change the configuration's name or owner.
You must be the owner of the configuration to use ALTER TEXT SEARCH CONFIGURATION.
PARAMETERS
name The name (optionally schema-qualified) of an existing text search configuration.
token_type
The name of a token type that is emitted by the configuration's parser.
dictionary_name
The name of a text search dictionary to be consulted for the specified token type(s). If multiple dictionaries are listed, they are
consulted in the specified order.
old_dictionary
The name of a text search dictionary to be replaced in the mapping.
new_dictionary
The name of a text search dictionary to be substituted for old_dictionary.
newname
The new name of the text search configuration.
newowner
The new owner of the text search configuration.
The ADD MAPPING FOR form installs a list of dictionaries to be consulted for the specified token type(s); it is an error if there is
already a mapping for any of the token types. The ALTER MAPPING FOR form does the same, but first removing any existing mapping for those
token types. The ALTER MAPPING REPLACE forms substitute new_dictionary for old_dictionary anywhere the latter appears. This is done for
only the specified token types when FOR appears, or for all mappings of the configuration when it doesn't. The DROP MAPPING form removes
all dictionaries for the specified token type(s), causing tokens of those types to be ignored by the text search configuration. It is an
error if there is no mapping for the token types, unless IF EXISTS appears.
EXAMPLES
The following example replaces the english dictionary with the swedish dictionary anywhere that english is used within my_config.
ALTER TEXT SEARCH CONFIGURATION my_config
ALTER MAPPING REPLACE english WITH swedish;
COMPATIBILITY
There is no ALTER TEXT SEARCH CONFIGURATION statement in the SQL standard.
SEE ALSO
CREATE TEXT SEARCH CONFIGURATION [create_text_search_configuration(7)], DROP TEXT SEARCH CONFIGURATION [drop_text_search_configuration(7)]
SQL - Language Statements 2010-05-14 ALTER TEXT SEARCH CONFIGURATION(7)