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 CENTOS
perf-inject
PERF-INJECT(1) perf Manual PERF-INJECT(1)
NAME
perf-inject - Filter to augment the events stream with additional information
SYNOPSIS
perf inject <options>
DESCRIPTION
perf-inject reads a perf-record event stream and repipes it to stdout. At any point the processing code can inject other events into the
event stream - in this case build-ids (-b option) are read and injected as needed into the event stream.
Build-ids are just the first user of perf-inject - potentially anything that needs userspace processing to augment the events stream with
additional information could make use of this facility.
OPTIONS
-b, --build-ids=
Inject build-ids into the output stream
-v, --verbose
Be more verbose.
-i, --input=
Input file name. (default: stdin)
-o, --output=
Output file name. (default: stdout)
-s, --sched-stat
Merge sched_stat and sched_switch for getting events where and how long tasks slept. sched_switch contains a callchain where a task
slept and sched_stat contains a timeslice how long a task slept.
SEE ALSO
perf-record(1), perf-report(1), perf-archive(1)
perf 06/30/2014 PERF-INJECT(1)