12-04-2006
Excellent book for your needs
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello i am new to this forum. I signed up here really to ask one question. I recentaly got a old unix server from my work and i never really understood what unix is or what is does. Dont get me wrong i and very smart with computers as long as its windows, mac, or linux i can use them all but i... (4 Replies)
Discussion started by: alt+f4
4 Replies
2. Shell Programming and Scripting
Hi all,
I am trying to write a shell script that will move files from one directory to another, the only thing is I want to to check loads of different source directory and move the files to loads of different directories.
I am totally new to shell scripts but not to UNIX (although I would... (16 Replies)
Discussion started by: Sax
16 Replies
3. UNIX for Dummies Questions & Answers
This is my first time in this forum so, Hello to all!!!
I have been supporting windows based machines for a few years now and I have been writing batch files to do certain tasks for what seems like an age.
I've recently started a new job (as it support) and my new colleagues have said,... (2 Replies)
Discussion started by: Blastman
2 Replies
4. Linux
i'm having trouble putting together a program :( any help would be much appreciated!
Write a Shell Program to automate the process of collecting assignments from the directories of students of any specified class.
The person running the program should be able to pass a parameter to the... (1 Reply)
Discussion started by: ace_face
1 Replies
5. UNIX for Dummies Questions & Answers
This may seem really easy to alot of you but i am a real noob on unix.
I have been set the task to make a script which will answer a query.
Basically I will have made files for people and i want to be able to search for a persons file and then select certain variables from the files. e.g... (7 Replies)
Discussion started by: bobtheb
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
bind \\C-o:menu-complete
This allows... (0 Replies)
Discussion started by: Mithu
0 Replies
7. BSD
I'm a Linux guy who is tring out BSD for the first time...
What is the BSD program to automatically fetch and and install software?
Is it pkg_add? Will pkg_add automatically fetch and and install software? Does it work on all BSD variants?
This is all I could find, but I wanted to make... (5 Replies)
Discussion started by: biznatch
5 Replies
8. UNIX for Dummies Questions & Answers
So... I'm using lynx on a Mac... I didn't know that the whole dang thing is in Terminal? I rarely use terminal. I can't even figure out how to start the thing up. I type in lynx into it and press enter... And the cursor just goes down. Nothing happens like the FAQ websites describe. I feel so... (6 Replies)
Discussion started by: yennster
6 Replies
9. What is on Your Mind?
A long time ago, my computer crashed, at that time, I was using Windows98, but
because I was a noob at computers, my friend recommended me apro to fix it for me.
He came, saw the computer, and asked if I had a backup/installation disk
for Windows 98. I said no.
He thought about it for a... (1 Reply)
Discussion started by: vistastar
1 Replies
10. HP-UX
Hello there, first post here so go easy on me! :D
I just aquired an old HP 9000 Dclass d220 server, all I know is that it's running HP-UX, and it appears to boot fine (I see the modules loading, etc..)
Now, I have been an MS guy all my life (yeah I know, make fun of me), so I really have no... (9 Replies)
Discussion started by: Marvio
9 Replies
LEARN ABOUT CENTOS
xml::catalog
XML::Catalog(3) User Contributed Perl Documentation XML::Catalog(3)
NAME
XML::Catalog - Resolve public identifiers and remap system identifiers
SYNOPSIS
use XML::Catalog;
my $catalog=XML::Catalog->new('/xml/catalog.cat');
$catalog->add('http://www.w3.org/xcatalog/mastercat.xml');
my $sysid=$catalog->resolve_public('-//John Cowan//LOC Diacritics');
my $newsysid=$catalog->remap_system('http://www.w3.org');
$parser->setHandlers(ExternEnt=>$catalog->get_handler($parser));
Oasis Example
$ perl -e 'use XML::Catalog;
$pubid = q|-//OASIS//DTD DocBook XML V4.5//EN|;
my $catalog=XML::Catalog->new("/etc/xml/catalog");
print $catalog->resolve_public($pubid), "
";'
file:///usr/share/sgml/docbook/xml-dtd-4.5-1.0-51.el6/docbookx.dtd
DESCRIPTION
This module implements draft 0.4 of John Cowan's XML Catalog (formerly known as XCatalog) proposal
(<http://www.ccil.org/~cowan/XML/XCatalog.html>). Catalogs may be written in either SOCAT or XML syntax (see the proposal for syntax
details); XML::Catalog will assume SOCAT syntax if the catalog is not in well-formed XML syntax.
This module, as of 1.0.0, also supports Oasis XML catalogs.
CONSTRUCTOR
new(URL [,URL]*)
Read the catalog identified by URL and return a catalog object implementing it. If more than one URL is given, chain the additional
catalogs as extensions to the catalog (they will be searched before catalogs specified by EXTEND entries).
All URLs must be absolute. A URL with no protocol is treated as a filename.
METHODS
add(URL [,URL]*)
Chain the catalogs identified by the URL(s) to the current catalog.
resolve_public(PUBID)
Translate the public identifier PUBID to a system identifier. Returns undef if the identifier could not be translated.
remap_system(SYSID)
Remap the system identifier SYSID as specified by the catalog. Returns SYSID unchanged if no remapping was found.
get_handler(PARSER)
Returns a coderef to a resolver suitable for use as the ExternEnt handler for an XML::Parser object. The resolver will first attempt
to resolve a public identifier if supplied, and then attempt to remap the resulting system identifier (or the original system
identifier if no public identifier was supplied). It will then call the original ExternEnt handler associated with the parser object.
PARSER is the parser object; it is needed as an argument in order to obtain the original handler.
add_delegate($pubid, $href)
TBD
add_extend($href)
TBD
add_extend_object($cat, $group )
TBD
add_map($pubid, $href)
TBD
add_remap($sysid, $href)
TBD
build($url)
create new catalog object
fix_base($url)
TBD
parse
TBD
parse_SOCAT($ct)
TBD
parse_XML($ct)
TBD
set_base($href)
TBD
BUGS
/ TODO
Searching of chained catalogs is not purely depth-first (EXTEND items in a chained catalog will be searched before EXTEND items in the
original catalog.
Error checking leaves much to be desired.
AUTHOR
Current Author:
Jeff Fearn E<lt>jfearn@cpan.orgE<gt>.
Former Authors:
Eric Bohlman E<lt>ebohlman@netcom.comE<gt>.
COPYRIGHT
Copyright (c) 1999-2000 Eric Bohlman. All rights reserved. Copyright (c) 2013 Jeff Fearn. All rights reserved.
This program is free software; you can use/modify/redistribute it under the same terms as Perl itself.
perl v5.16.3 2013-10-28 XML::Catalog(3)