Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pod::index::extract(3pm) [debian man page]

Pod::Index::Extract(3pm)				User Contributed Perl Documentation				  Pod::Index::Extract(3pm)

NAME
Pod::Index::Extract - Extracts a "pod scope" SYNOPSIS
use Pod::Index::Extract; my $parser = Pod::Index::Extract->new; # [...] get $fh_in to the desired position $parser->parse_from_filehandle($fh_in, $fh_out); DESCRIPTION
This module is a subclass of Pod::Parser. It outputs POD without any transformation; however, it only outputs the POD that is "in scope" as defined in Pod::Index. To use this module, you first need to position a filehandle at the beginning of the desired scope, and then call "parse_from_filehandle" with that filehandle for input. It will just print the POD until it reaches the end of the scope, after which it will jump to the end of the file. If the scope starts with an "=item", it will wrap it with an "=over" and a "=back", so it can be used as valid POD in isolation. VERSION
0.14 SEE ALSO
Pod::Index, Pod::Index::Entry, Pod::Parser AUTHOR
Ivan Tubert-Brohman <itub@cpan.org> COPYRIGHT
Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2005-10-16 Pod::Index::Extract(3pm)

Check Out this Related Man Page

PODINDEX(1p)						User Contributed Perl Documentation					      PODINDEX(1p)

NAME
podindex - build index from pods SYNOPSYS
podindex [options] <pod(s)>... Reads pod(s) and prints an index to stdout. Options: --package=PACKAGE precede the index by a perl package declaration --help this help --version print version number DESCRIPTION
This is a simple wrapper script around Pod::Index::Builder. It parses the POD files given as arguments, finds all X<> entries, generates an index and prints it to standard output. OPTIONS
package If given, it will place the index in the __DATA__ section of a perl package. For example, podindex --package=perlindex perlop.pod outputs something like this: package perlindex; 1; __DATA__ ! perlsyn 116 DESCRIPTION ! perlop 207 Symbolic Unary Operators != perlop 436 Equality Operators !~ perlop 242 DESCRIPTION This is used so that an index can be placed in @INC and found easily (See Pod::Index::Search). SEE ALSO
Pod::Index, Pod::Index::Builder, perlpod AUTHOR
Ivan Tubert-Brohman <itub@cpan.org> COPYRIGHT
Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2005-08-02 PODINDEX(1p)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extract from a file

Hi guys, Thanks for this forum. It's been very helpful in improving my understanding of unix. I have 2 questions. a. eg I have the following big_tom_get_back("final") in a file, how can I use awk or sed to xtract the word "final" without the quote from the string. ... (4 Replies)
Discussion started by: odogbolu98
4 Replies

2. Shell Programming and Scripting

Extract all the content after a specific data

My input: >seq_1 DSASSTRRARRRRTPRTPSLRSRRSDVTCS >seq_3 RMRLRRWRKSCSERS*RRSN >seq_8 RTTGLSERPRLPTTASRSISSRWTR >seq_10 NELPLEKGSLDSISIE >seq_9 PNQGDAREPQAHLPRRQGPRDRPLQAYA+ QVQHRRHDHSRTQH*LCRRRQREDCDRLHR >seq_4 DRGKGQAGCRRPQEGEALVRRCS>seq_6 FA*GLAAQDGEA*SGRG My output: Extract all... (22 Replies)
Discussion started by: patrick87
22 Replies

3. Shell Programming and Scripting

Extract data between two markers

Data in my jsp file is as follows: Extract the name of all include page jsp file name <!--- Global Nav Start --> <jsp:include page="/includes/GlobalNav.jsp" > <jsp:param name="CMCat" value="TechProp" /> </jsp:include> <!--- Global Nav End --> <!-- Primary Nav Start --> <jsp:include... (4 Replies)
Discussion started by: rajkdutta
4 Replies

4. Shell Programming and Scripting

Extract first column from second line in perl

Hello Gurus I have a source file which has the first line as header and the rest are the records I need to extract the first column from the second line to extract a value I/P ... (7 Replies)
Discussion started by: Pratik4891
7 Replies

5. Homework & Coursework Questions

Compare to values in a file in unix

Here is sample file ===============Index 0=================== isActive=0, Input=1, Output=1, Status=1 State = Future , PRIMARY UnderCount=2 inCount=2 outCount=0 SCount=673 -- ===============Index 1=================== isActive=0, Input=1, Output=1, Status=1 ... (1 Reply)
Discussion started by: sooda
1 Replies

6. Shell Programming and Scripting

Extract record from file based on section.

input file output file (1 Reply)
Discussion started by: lathigara
1 Replies

7. Shell Programming and Scripting

Extract data from a file

Hello All, I have a small xml file which looks like below: <Check:defaultval Val="crash" value="crash_report_0013&#xA;generate_check_0020 generate_check_0022&#xA;&#xA;This is where the fault is."/> <Check:defaultval Val="crash" value="crash_report_1001&#xA;generate_check_1001... (9 Replies)
Discussion started by: suvendu4urs
9 Replies

8. Shell Programming and Scripting

Extract First and matching word from string in UNIX

Thank you (2 Replies)
Discussion started by: Pratik Majithia
2 Replies

9. Shell Programming and Scripting

Extract lines that appear twice

I have a text file that looks like this : root/user/usr1/0001/abab1* root/user/usr1/0001/abab2* root/user/usr1/0002/acac1* root/user/usr1/0002/acac2* root/user/usr1/0003/adad1* root/user/usr1/0004/aeae1* root/user/usr1/0004/aeae2* How could I code this to extract just the subjects... (9 Replies)
Discussion started by: LeftoverStew
9 Replies

10. Shell Programming and Scripting

Extract substring in a file

Hello, A question please. A have a file that contains a string. Ex: AAAABBCCCCCDDEEEEEEEEEEFF I'd want to recover 2 substrings, 'BB' and 'FF' and then leave them in a new file. Could anoyone help me please? Thanks in advance (3 Replies)
Discussion started by: nolo41
3 Replies

11. UNIX for Dummies Questions & Answers

Extract paragraph that contains a value x<-30

I am using OSX. I have a multi-mol2 file (text file with coordinates and info for several molecules). An example of two molecules in the file is given below for molecule1 and molecule 2. The total file contains >50,000 molecules. I would like to extract out and write to another file only the... (2 Replies)
Discussion started by: Egy
2 Replies

12. UNIX for Dummies Questions & Answers

Extract UNIX data to excel

(2 Replies)
Discussion started by: Peru
2 Replies

13. Shell Programming and Scripting

awk Index to get position matches pattern

Input data as below (filetest.txt): 1|22 JAN Minimum Bal 20.00 | SAT 2|09 FEB Extract bal 168.00BR | REM 3|MIN BAL | LEX Output should be: ( If there is Date & Month in 2nd field of Input file, It should be seperated else blank. If There is Decimal OR Decimal & Currency in last of the 2nd... (7 Replies)
Discussion started by: JSKOBS
7 Replies

14. Post Here to Contact Site Administrators and Moderators

How to read the nth character from the line.?

I have Index Line and I tried to get the 9th character from the file and to check the character is "|" or not. Shell Scripting. Sample Index file. "91799489|K8E|188.004.A.917994892.1099R.c.01.pdf|2013|10/15/2014|002|B|C|C"... (3 Replies)
Discussion started by: pavand
3 Replies

15. UNIX for Beginners Questions & Answers

Extract only first occurance

Hi All, From the below file. I need to get only the first occurrence and print. I tried to do it in separate grep not coming as expected Original file 11001;1213;304;;;;;;;111020677.64;;;;;;;;;;;;;;;;;;;;;;;;;; 11001;1214;304;;;;;;;102376462.96;;;;;;;;;;;;;;;;;;;;;;;;;;... (5 Replies)
Discussion started by: arunkumar_mca
5 Replies