10-08-2010
Thanks for all the help guys
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have some basic doubts. Can someone clarify in this forum?
1)if
then
eval ' tset -s -Q -m ':?hp' '
else
eval ' tset -s -Q '
what does it exactly mean in .profile?
2) what are 'nobody' and 'noaccess' usernames in /etc/passwd file.
... (3 Replies)
Discussion started by: asutoshch
3 Replies
2. UNIX for Dummies Questions & Answers
How to know if my AIX 5.2 is running at 64bits?
THANKS (5 Replies)
Discussion started by: GermanSkull
5 Replies
3. UNIX for Dummies Questions & Answers
Hello all. Let me start off by saying I know a little more then it seems by me asking this question... here goes
I have an old 486 box and I want to start messing around with unix. I've been taking classes for 3 or 4 years in c programming in unix, so I am used to the commands and such, but I... (1 Reply)
Discussion started by: robherms
1 Replies
4. HP-UX
Could someone tell me the command to find out the OS version which will give 12 character not the 9 characters(which is usually machine id).
uname -i gives machine id and uname -a is more comprehensive way to look.
Thanks! (4 Replies)
Discussion started by: catwomen
4 Replies
5. Programming
Hi there.
I've got 12 years experience writing C++ on Windows, and 3 years C# on Windows. Now my boss wants me to write a C++ app to run on Unix as a multithreaded 'service' (i.e. a program that runs with no user intervention).
Some quick questions for The Experts:
* Whats the best C++... (3 Replies)
Discussion started by: Rutland Gizz
3 Replies
6. Shell Programming and Scripting
hi,
I have a basic question,,
i am in a directory called
/intas/OCU_3.9.1/sbin
ocuut1@france>mv itsa_tcs itsa_tcs_old
mv: itsa_tcs_old: rename: Permission denied
i am logging as the owner of the file.
when i am doing this i am getting the above error of permission denied.
I know... (3 Replies)
Discussion started by: namishtiwari
3 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
8. Shell Programming and Scripting
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies
9. UNIX for Dummies Questions & Answers
what is a assembler
what isa interpreter
what is a compiler
what is a socket
what is a port
what is meant by listening to a port how we do it
how to know version and standard of unix one is using when one is on public access unix account
how to see a jobid in... (1 Reply)
Discussion started by: scimitar
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I was trying to change the value of the 4th column (put '1' in the 4th column of each row). My awk command is:
awk -F, '{$3=1;}1' OFS= input.txt > ./test_out.txt
My input file is:
a 1 2 31
b 4 5 61
c 7 8 91
My output file (test_out.txt)is:
a 1 2 31
b 4 5 61
c 7 8 91
What... (4 Replies)
Discussion started by: pc2001
4 Replies
LEARN ABOUT DEBIAN
test::pod::no404s
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)