Sponsored Content
Operating Systems HP-UX To give the "unzip" permissions & "create" file permissions Post 302172130 by Mike1234 on Sunday 2nd of March 2008 04:34:48 PM
Old 03-02-2008
I got it.
Thanks guys for your help.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Shell Programming and Scripting

"sed" to check file size & echo " " to destination file

Hi, I've modified the syslogd source to include a thread that will keep track of a timer(or a timer thread). My intention is to check the file size of /var/log/messages in every one minute & if the size is more than 128KB, do a echo " " > /var/log/messages, so that the file size will be set... (7 Replies)
Discussion started by: jockey007
7 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. Shell Programming and Scripting

finding the strings beween 2 characters "/" & "/" in .txt file

Hi all. I have a .txt file that I need to sort it My file is like: 1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO) 2- ... (10 Replies)
Discussion started by: Behrouzx77
10 Replies

5. Web Development

How would I mod_rewrite "/~a1Pha" and "/=a1Pha" to "/paste/a1Pha.htm"? (internally & externally)

Basically I want to shorten URLs on my html pasting site (pasteht.ml), by using "/~a1Pha" instead of "/paste/a1Pha". The ID is 5 numbers and letters, both cases. For example: /~idnum serves /paste/idnum.htm /=idnum serves /paste/idnum.htm /paste/idnum redirects to /~idnum (to update any old... (0 Replies)
Discussion started by: phillips1012
0 Replies

6. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

7. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

8. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
Test::Pod::No404s(3pm)					User Contributed Perl Documentation				    Test::Pod::No404s(3pm)

NAME
Test::Pod::No404s - Checks POD for http 404 links SYNOPSIS
#!/usr/bin/perl use strict; use warnings; use Test::More; eval "use Test::Pod::No404s"; if ( $@ ) { plan skip_all => 'Test::Pod::No404s required for testing POD'; } else { all_pod_files_ok(); } ABSTRACT
Using this test module will check your POD for any http 404 links. DESCRIPTION
This module looks for any http(s) links in your POD and verifies that they will not return a 404. It uses LWP::UserAgent for the heavy lifting, and simply lets you know if it failed to retrieve the document. More specifically, it uses $response->is_error as the "test." Normally, you wouldn't want this test to be run during end-user installation because they might have no internet! It is HIGHLY recommended that this be used only for module authors' RELEASE_TESTING phase. To do that, just modify the synopsis to add an env check :) Methods all_pod_files_ok( [ @files ] ) This function is what you will usually run. It automatically finds any POD in your distribution and runs checks on them. Accepts an optional argument: an array of files to check. By default it checks all POD files it can find in the distribution. Every file it finds is passed to the "pod_file_ok" function. pod_file_ok( FILENAME, [ TESTNAME ] ) "pod_file_ok()" will okay the test if there is no http(s) links present in the POD or if all links are not an error. Furthermore, if the POD was malformed as reported by Pod::Simple, the test will fail and not attempt to check the links. When it fails, "pod_file_ok()" will show any failing links as diagnostics. The optional second argument TESTNAME is the name of the test. If it is omitted, "pod_file_ok()" chooses a default test name "404 test for FILENAME". EXPORT
Automatically exports the two subs. SEE ALSO
LWP::UserAgent Pod::Simple Test::Pod SUPPORT
You can find documentation for this module with the perldoc command. perldoc Test::Pod::No404s Websites o Search CPAN <http://search.cpan.org/dist/Test-Pod-No404s> o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Test-Pod-No404s> o CPAN Ratings <http://cpanratings.perl.org/d/Test-Pod-No404s> o CPAN Forum <http://cpanforum.com/dist/Test-Pod-No404s> o RT: CPAN's Request Tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Pod-No404s> o CPANTS Kwalitee <http://cpants.perl.org/dist/overview/Test-Pod-No404s> o CPAN Testers Results <http://cpantesters.org/distro/T/Test-Pod-No404s.html> o CPAN Testers Matrix <http://matrix.cpantesters.org/?dist=Test-Pod-No404s> o Git Source Code Repository <http://github.com/apocalypse/perl-test-pod-no404s> Bugs Please report any bugs or feature requests to "bug-test-pod-no404s at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Pod-No404s>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. AUTHOR
Apocalypse <apocal@cpan.org> Thanks to the author of Test::Pod for the basic framework of this module! Thanks to the POE guys for finding 404 links in their POD, and was the inspiration for this module. COPYRIGHT AND LICENSE
Copyright 2010 by Apocalypse This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-03-05 Test::Pod::No404s(3pm)
All times are GMT -4. The time now is 05:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy