Sponsored Content
Top Forums Shell Programming and Scripting sh script to traul through /usr/lib/perl5 ... Post 25870 by PxT on Wednesday 7th of August 2002 01:01:25 AM
Old 08-07-2002
Maybe this is not what you are trying to accomplish, but wouldn't this work?

Code:
#!/bin/sh
cd /usr/lib/perl5
find . -type d -exec mkdir /root2/perl-html/{} \; # Create the directory structure
find . -type f -exec -exec pod2html --outfile=/root2/perl-html/{}.html {} \;

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/usr/lib/32/32-> Question

Hello UNIX people. I was just cruising around my UFS and came across the directory /usr/lib/32. This directory continues up many directories (/usr/lib/32/32/32/32->). Each level of 32/ directory seems to be a copy of the previous one. I have been working with UNIX for a little while now, but I... (3 Replies)
Discussion started by: shaggy
3 Replies

2. UNIX for Advanced & Expert Users

/usr/lib on a seperate partition

I want to move /usr/lib on a seperate partition. ( is is now all at / ) I know how to copy data and update fstab but... At boot time, the mepis distro already needs stuff from /usr/lib but it is not mounted yet. So i get error before /usr/lib is mounted. Does this mean you cannot move... (4 Replies)
Discussion started by: progressdll
4 Replies

3. UNIX for Dummies Questions & Answers

/usr/lib/saf/sac -t 300

pls my server that is running UnixOs solaris is not working properly. it use to display the following errors: INIT:Command is respawning too rapidly. check for possible errors. id: sc "/usr/lib/saf/sac -t 300" what am i suppose to do to correct this problem? Regards. (1 Reply)
Discussion started by: dba
1 Replies

4. UNIX for Dummies Questions & Answers

use of /usr/lib/nsr

Hello, I have this folder on my one of the machine but not on other. /usr/lib/nsr can anyone tell me for what this folder is used ? Thanks (2 Replies)
Discussion started by: yatrik007
2 Replies

5. Solaris

recover a corrupted solaris10 system /usr/lib

did something very dump under /usr/lib, eg: overwite a bunch of files from a similar system's /usr/lib, while the system is live.. I have no backup on this..it crashed...and came up with a bunch of device driver load errors and hung... This is Solaris10 update 7 .. I wonder if I could do a... (0 Replies)
Discussion started by: ppchu99
0 Replies

6. Solaris

Wrong ELF data format: ELFDATA2MSB at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm

We are trying to install our project on solaris 10 x86 machine. we are getting the following error. Can't load '/u01/apps/WatchMark/FlexPM//R39FOA1/sw/perl/lib/auto/DBI/DBI.so' for module DBI: ld.so.1: perl: fatal: /u01/apps/WatchMark/FlexPM//R39FOA1/sw/perl/lib/auto/DBI/DBI.so: wrong ELF data... (3 Replies)
Discussion started by: Jagandadi
3 Replies

7. Solaris

/usr/lib/vhost.so missing Solaris 5.10

Hi, i have a solaris 5.10 machine on which i am getting below error while executing cat command ld.so.1: cat: fatal: vhost.so: open failed: No such file or directory Killed it is related to file vhost.so missing Also when i did ldd cat result is as below libc.so.1... (1 Reply)
Discussion started by: Jcpratap
1 Replies

8. UNIX for Advanced & Expert Users

/usr/lib/libv12n.so

Hi, I want to use the function "v12n_domain_uuid" on solaris box. The library "libv12n" is present in /usr/lib but i can't locate the header "libv12n.h" anywhere in the box. How do i run the API "v12n_domain_uuid" (4 Replies)
Discussion started by: skyineyes
4 Replies

9. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies

10. Solaris

Cannot open module /usr/lib/security

Dear All After powering on my Netra120 Solaris server and waiting for all of the installed processes to be started , when trying for login I am getting : "can not open module /usr/lib/security/pam_authtok_get.so.1" Can you please let me know what has happened to my server and how can I reach... (3 Replies)
Discussion started by: hadimotamedi
3 Replies
Pod::Html(3pm)						 Perl Programmers Reference Guide					    Pod::Html(3pm)

NAME
Pod::Html - module to convert pod files to HTML SYNOPSIS
use Pod::Html; pod2html([options]); DESCRIPTION
Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference. FUNCTIONS
pod2html pod2html("pod2html", "--podpath=lib:ext:pod:vms", "--podroot=/usr/src/perl", "--htmlroot=/perl/nmanual", "--recurse", "--infile=foo.pod", "--outfile=/perl/nmanual/foo.html"); pod2html takes the following arguments: backlink --backlink Turns every "head1" heading into a link back to the top of the page. By default, no backlinks are generated. cachedir --cachedir=name Creates the directory cache in the given directory. css --css=stylesheet Specify the URL of a cascading style sheet. Also disables all HTML/CSS "style" attributes that are output by default (to avoid conflicts). flush --flush Flushes the directory cache. header --header --noheader Creates header and footer blocks containing the text of the "NAME" section. By default, no headers are generated. help --help Displays the usage message. htmldir --htmldir=name Sets the directory to which all cross references in the resulting html file will be relative. Not passing this causes all links to be absolute since this is the value that tells Pod::Html the root of the documentation tree. Do not use this and --htmlroot in the same call to pod2html; they are mutually exclusive. htmlroot --htmlroot=name Sets the base URL for the HTML files. When cross-references are made, the HTML root is prepended to the URL. Do not use this if relative links are desired: use --htmldir instead. Do not pass both this and --htmldir to pod2html; they are mutually exclusive. index --index --noindex Generate an index at the top of the HTML file. This is the default behaviour. infile --infile=name Specify the pod file to convert. Input is taken from STDIN if no infile is specified. outfile --outfile=name Specify the HTML file to create. Output goes to STDOUT if no outfile is specified. poderrors --poderrors --nopoderrors Include a "POD ERRORS" section in the outfile if there were any POD errors in the infile. This section is included by default. podpath --podpath=name:...:name Specify which subdirectories of the podroot contain pod files whose HTML converted forms can be linked to in cross references. podroot --podroot=name Specify the base directory for finding library pods. Default is the current working directory. quiet --quiet --noquiet Don't display mostly harmless warning messages. These messages will be displayed by default. But this is not the same as "verbose" mode. recurse --recurse --norecurse Recurse into subdirectories specified in podpath (default behaviour). title --title=title Specify the title of the resulting HTML file. verbose --verbose --noverbose Display progress messages. By default, they won't be displayed. htmlify htmlify($heading); Converts a pod section specification to a suitable section specification for HTML. Note that we keep spaces and special characters except "", ?" (Netscape problem) and the hyphen (writer's problem...). anchorify anchorify(@heading); Similar to "htmlify()", but turns non-alphanumerics into underscores. Note that "anchorify()" is not exported by default. ENVIRONMENT
Uses $Config{pod2html} to setup default options. AUTHOR
Marc Green, <marcgreen@cpan.org>. Original version by Tom Christiansen, <tchrist@perl.com>. SEE ALSO
perlpod COPYRIGHT
This program is distributed under the Artistic License. perl v5.18.2 2014-01-06 Pod::Html(3pm)
All times are GMT -4. The time now is 08:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy