04-05-2006
How create a large list of document ids in VI
How can I create a large list of document ids, about a 1,000 or more in a list without having to type them in?
If I can list these documents ids with one command I know how to transfer the output to a new vi list.
But how can I strip unwanted extra information in this list and leave only the document ids?
How can I insert certain words over and over again in this file without having to type a 1,000 times?
Please let me know
thanks
Ruben
9 More Discussions You Might Find Interesting
1. Programming
Hello,
Can some one tell how to read the thread IDs of the current process in Sun Solaris.
Any help will be appreciated.
regards,
Murali (0 Replies)
Discussion started by: hmurali
0 Replies
2. Programming
Hi All,
I am supposed to present the documentation for the PLSQL code (PACKAGES, PROCEDURE, FUNCTIONS) of my application. There are sufficient comments in my code. Has anyone written any Shell Script Utility which can parse the PLSQL code and generate some kind of document ( preferrably HTML not... (1 Reply)
Discussion started by: gauravsachan
1 Replies
3. Programming
hi,
i have large xml file which contains students information, i need to extract student number and some address tags and create a word document for the extracted data. my data looking llike this
<student>
<number>24</number>
<education>bachelors</education>
... (1 Reply)
Discussion started by: veerubiji
1 Replies
4. Programming
Hi,
I have large xml data file.I need to extract node and some tags in the node and after I need to create word document. my XMl data is look like as below
-<student>
<number>24</number>
<education>bachelor</bachelor>
<specialization>computers</specialization>
... (3 Replies)
Discussion started by: veerubiji
3 Replies
5. Shell Programming and Scripting
hi,
i have script which installs around 20 packages. during installation of each package script will be prompted for user input.
i need to run the script in non-interactive by using here document. is it possible to generate here document by running the script in interactive mode on Solaris?... (1 Reply)
Discussion started by: snreddy_gopu
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I have to find the count from File. tsv and need the output file format will be in html using shell script.
Ex:
File.tsv
A B C D
1 2 3 4
5 6 7 4
9 10 11 12
output in html:
FileName
Count A 3 (1 Reply)
Discussion started by: Shenbaga.d
1 Replies
7. AIX
if I want to create a bundle of user ids on some aix servers, if there is a way not need to do "passwd username" one by one user to set the password?
Thanks (3 Replies)
Discussion started by: rainbow_bean
3 Replies
8. Emergency UNIX and Linux Support
I would like to capture the list of all users that belong to the "system" group. Or in other words all those who have privilege access on the system. Can someone please help me with a shell script/sed/awk code to obtain this please. (3 Replies)
Discussion started by: ggayathri
3 Replies
9. UNIX for Beginners Questions & Answers
I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd.
Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies
LEARN ABOUT DEBIAN
tm::analysis
TM::Analysis(3pm) User Contributed Perl Documentation TM::Analysis(3pm)
NAME
TM::Analysis - Topic Maps, analysis functions
SYNOPSIS
use TM::Materialized::AsTMa;
my $tm = new TM::Materialized::AsTMa (file => 'test.atm');
$tm->sync_in;
Class::Trait->apply ($tm, 'TM::Analysis');
print Dumper $tm->statistics;
print Dumper $tm->orphanage;
DESCRIPTION
This package contains some topic map analysis functionality.
INTERFACE
statistics
This (currently quite limited) function computes a reference to hash containing the following fields:
"nr_toplets"
Nr of midlets in the map. This includes ALL midlets for topics and also those for assertions.
"nr_asserts"
Nr of assertions in the map.
"nr_clusters"
Nr of clusters according to the "cluster" function elsewhere in this document.
orphanage
This computes all topics which have either no supertype and also those which have no type. Without further parameters, it returns a
hash reference with the following fields:
"untyped"
Holds a list reference to all topic ids which have no type.
"empty"
Holds a list reference to all topic ids which have no instance.
"unclassified"
Holds a list reference to all topic ids which have no superclass.
"unspecified"
Holds a list reference to all topic ids which have no subclass.
Optionally, a list of the identifiers above can be passed in so that only that particular information is actually returned (some
speedup):
my $o = TM::Analysis::orphanage ($tm, 'untyped');
entropy
This method returns a hash (reference) where the keys are the assertion types and the values are the individual entropies of these
assertion types. More frequently used (inflationary) types will have a lower value, very seldomly used ones too. Only those in the
middle count most.
SEE ALSO
TM
COPYRIGHT AND LICENSE
Copyright 20(0[3-68]|10) by Robert Barta, <drrho@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-06-06 TM::Analysis(3pm)