Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pom2(1) [suse man page]

POM2(1) 						User Contributed Perl Documentation						   POM2(1)

NAME
pom2 - convert POD to Text, HTML, etc., with Pod::POM SYNOPSIS
pom2 text MyFile.pm > MyFile.txt pom2 html MyFile.pm > MyFile.html pom2 pod MyFile.pm > Myfile.pod pom2 format [options] MyFile.pm > Myfile.xyz DESCRIPTION
This script uses "Pod::POM" to convert a Pod document into text, HTML, back into Pod (e.g. to normalise a document to fix any markup errors), or any other format for which you have a view module. If the viewer is not one of the viewers bundled with "Pod::POM", the script searches for an installed "Pod::POM::View" module that matches the specified format. For example if you have "Pod::POM::View::DocBook" installed then you could say: pod2 docbook MyFile.pm > MyFile.xml If any options other than "--help" are specified then they are passed to the constructor method of the view class. For example: pod2 docbook --root=chapter --titlecasing MyFile.pm > MyFile.xml would convert the Pod document to a DocBook chapter document with the titlecasing option enabled. Note that any string prefixed by ""--"" is taken as a valid option and passed to the constructor; if no value is specified then a value of 1 is passed in. AUTHOR
Andy Wardley <abw@kfs.org> extended by Andrew Ford <A.Ford@ford-mason.co.uk> VERSION
This is version 0.3 of pom2. COPYRIGHT
Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved. Copyright (C) 2009 Andrew Ford. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
For further information please see Pod::POM. perl v5.12.1 2009-03-19 POM2(1)

Check Out this Related Man Page

Pod::POM::View::Text(3) 				User Contributed Perl Documentation				   Pod::POM::View::Text(3)

NAME
Pod::POM::View::Text DESCRIPTION
Text view of a Pod Object Model. METHODS
"view($self, $type, $item)" "view_pod($self, $pod)" "view_head1($self, $head1)" "view_head2($self, $head2)" "view_head3($self, $head3)" "view_head4($self, $head4)" "view_over($self, $over)" "view_item($self, $item)" "view_for($self, $for)" "view_begin($self, $begin)" "view_textblock($self, $textblock)" "view_verbatim($self, $verbatim)" "view_meta($self, $meta)" "view_seq_bold($self, $text)" Returns the text of a "B<>" sequence in 'bold' (i.e. surrounded by asterisks, like *this*). "view_seq_italic($self, $text)" Returns the text of a "I<>" sequence in 'italics' (i.e. surrounded by underscores, like _this_). "view_seq_code($self, $text)" "view_seq_file($self, $text)" "view_seq_entity($self, $text)" "view_seq_index($self, $text)" Returns an empty string. Index sequences are suppressed in text view. "view_seq_link($self, $text)" AUTHOR
Andy Wardley <abw@kfs.org> COPYRIGHT AND LICENSE
Copyright (C) 2000 Andy Wardley. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.1 2009-03-19 Pod::POM::View::Text(3)
Man Page

12 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

who to deal with whole line in shell scripting

I have a problem in my HP Unix system , it is briefly : I have two files : Myfile and Script.sh : Myfile contain this lines : String1 string2 string3 string5 String1 string2 string3 string5 String1 string2 string3 string5 ... (2 Replies)
Discussion started by: KSA
2 Replies

2. UNIX for Dummies Questions & Answers

deleting a line but keeping the same file

Hi, I want to delete a line in a file that contains a string. I tried: grep -v "mystring" Myfile > Myfile But this makes the Myfile empty. I read that I need to do something like: grep -v "mystring" Myfile > Myfile.new rm Myfile mv Myfile.new Myfile Is there a way to avoid creating a... (2 Replies)
Discussion started by: laiko
2 Replies

3. Shell Programming and Scripting

How to use a varibale in sed

i wanna insert a row in a file. I m using this command to insert a row in the 13th line. sed '13i\ NewRow' MyFile > temp.txt mv temp.txt to MyFile this works fine. now i wanna get the line no using grep into a variable and then use tht variable to insert a new row.. how to do this wid... (8 Replies)
Discussion started by: St.Fartatric
8 Replies

4. Shell Programming and Scripting

Verify large file with Unix function

I am seeking help on one UNIX function writting. Please help. I have a large file, named 'MyFile', It was tab-delmited. I am told that each line in 'MyFile' has 7 columns, and that the values in the 5th column are integers. How do I use shell functions (and standard LINUX/UNIX filters) to verify... (1 Reply)
Discussion started by: duke0001
1 Replies

5. UNIX for Dummies Questions & Answers

Verify the data type in a file with UNIX function

I am seeking help on this UNIX function, please help. Thanks in advance. I have a large file, named as 'MyFile'. It was tab-delmited, I am told that each record in column 1 is unique. How would I verify this with UNIX function or command? (1 Reply)
Discussion started by: duke0001
1 Replies

6. UNIX for Dummies Questions & Answers

Verify a flat file with UNIX function or script.

I re-post my question to seek your help and critique. I was required to verify a very large and tab-delimited file, named 'MyFile'. 1. The each line in 'MyFile' has 7 columns, and that the values in the 5th column are integers. I need to use shell functions (and standard LINUX/UNIX filters) to... (1 Reply)
Discussion started by: duke0001
1 Replies

7. Shell Programming and Scripting

Copy the latest file to a directory

Hi Team, I wish to copy the latest file of pattern "MyFile*" to some other location. I need to do all the operation in a single command separated by |. ls -rt <MyFile*> | tail -1 | <copy command>. How can I do? Please help me. Thanks, Kanda (2 Replies)
Discussion started by: spkandy
2 Replies

8. Shell Programming and Scripting

chmod to stop cat from displaying the file?

Hi, Im struggling with what chmod to change the permission of a file in the current directory named MyFile so the command "cat MyFile" fails to display the file.?? (10 Replies)
Discussion started by: tryintolearn
10 Replies

9. Shell Programming and Scripting

Ksh script: std Out/err

Hello gurus, this is part of my script: ls -1 ${MyFile} >> ${dir_log}ListFile${Now}.tmp FILENUM=`cat ${dir_log}ListFile${Now}.tmp| wc -l | awk '{print $1}'`>> /dev/null if then writeError "ERRORE: no file in directory for type ${FileName}!" >> ${LogFileName} Close 1 fi... (7 Replies)
Discussion started by: GERMANICO
7 Replies

10. Shell Programming and Scripting

Concat String with variable after a 'grep' and awk

Here is the structure of my file: MyFile.txt g-4.n.g.fr 10.147.243.63 g-4.n.g.fr-w1 Here is my sript: test.sh #! /bin/sh ip=10.147.243.63 worker=$(grep -e $ip $1 | awk '{ print $3; }') echo "" echo $worker echo "" echo $worker echo "" echo "$worker.v.1" echo... (7 Replies)
Discussion started by: chercheur111
7 Replies

11. Shell Programming and Scripting

[sed]: Substitute a string with a multiline value

Dear all, I try to replace a string of characters in a file (MyFile.txt) by a multiline value of the variable "Myvar": $ cat MyFile.txt DESCRIPTION '@TargetTable SCHEMA' ( @InputFlowDef ); $ The content of Myvar: $ echo "$Myvar" col1 , col2 , col3 $ (4 Replies)
Discussion started by: dae
4 Replies

12. Shell Programming and Scripting

How to remove repetitive lines in a file with sed?

Hello, My goal is the make all x times repeated lines into a single line. I need to attain the expected output with sed -i , I need to overwrite the MyFile MyFile: Hello World Welcome Hello World Welcome Back This is my test Expected output: Hello World Welcome Welcome Back This is... (6 Replies)
Discussion started by: baris35
6 Replies