I wanted study and write a unix like system. who can help me.
-------------
Removed the garbled characters... not sure why they were there... (2 Replies)
I am a bit confused about the use of _v2 standard libraries on HP. I am working on HP11.11 risk machine and HP 11.23 Itanium machine.
I am building a C++ shared library which is linked by a JNI shared library and other non-java related libraries. Eveything is compiled with -AA flag. When I... (0 Replies)
Dear all,
I have a need to find the standard of my system such as POSIX.
How can I know that. Is there any way to find it.
I am using GNU/Linux. (2 Replies)
I have an xml file.
I am doing some change, say deleting line 770. File name is file.xml. I use:
sed '770d' file.xml
but this does not actually make changes in the *file* but shows the changes on standard output (screen)
if i use
$var=`sed '770d' file.xml`
echo $var > file.xml
this... (3 Replies)
Hi there
how can i get the result of a command to not give me its error. For example, on certain systems the 'zfs' command below is not available, but this is fine becaues I am testing against $? so i dont want to see the message " command not found" Ive tried outputting to /dev/null 2>&1 to no... (5 Replies)
Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway?
Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
I need to run a cronjob and in the cronjob I execute a script that if there is an error produces standard error so I do
/RUNMYSCRIPT 2> mylogfile.log
However, if it runs correctly, I don't get a standard error output, I get a standard out output. How do I redirect both standard error and... (2 Replies)
Hi all .... vexing problem here ...
I am using sed to replace some special characters in a .txt file:
sed -e 's/_<ED>_/_355_/g;s/_<F3>_/_363_/g;s/_<E1>_/_341_/g' filename.txt
This command replaces <ED> with í , <F3> with ó and <E1> with á.
When I run the command to standard output, it works... (1 Reply)
I am trying use sed to replace a string in a file with input string passed, but it is not replacing the string. instead it replace as $1. Please find below the code.
echo $1
sed -i.$now "s/http.*.myservice.*.war/$1/" tempfile.xml
I am running above code as below
myscript.sh ReplaceString... (4 Replies)
Discussion started by: sakthi.99it
4 Replies
LEARN ABOUT PHP
domattr
DOMATTR(3) 1 DOMATTR(3)The DOMAttr classINTRODUCTION
DOMAttr represents an attribute in the DOMElement object.
CLASS SYNOPSIS
DOMAttr
DOMAttrextends
DOMNode
Properties
o publicreadonly string$name
o publicreadonly DOMElement$ownerElement
o publicreadonly bool$schemaTypeInfo
o publicreadonly bool$specified
o public string$value
Methods
o public DOMAttr::__construct (string $name, [string $value])
o public bool DOMAttr::isId (void )
Inherited methods
o public DOMNode DOMNode::appendChild (DOMNode $newnode)
o public string DOMNode::C14N ([bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes])
o public int DOMNode::C14NFile (string $uri, [bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes])
o public DOMNode DOMNode::cloneNode ([bool $deep])
o public int DOMNode::getLineNo (void )
o public string DOMNode::getNodePath (void )
o public bool DOMNode::hasAttributes (void )
o public bool DOMNode::hasChildNodes (void )
o public DOMNode DOMNode::insertBefore (DOMNode $newnode, [DOMNode $refnode])
o public bool DOMNode::isDefaultNamespace (string $namespaceURI)
o public bool DOMNode::isSameNode (DOMNode $node)
o public bool DOMNode::isSupported (string $feature, string $version)
o public string DOMNode::lookupNamespaceURI (string $prefix)
o public string DOMNode::lookupPrefix (string $namespaceURI)
o public void DOMNode::normalize (void )
o public DOMNode DOMNode::removeChild (DOMNode $oldnode)
o public DOMNode DOMNode::replaceChild (DOMNode $newnode, DOMNode $oldnode)
PROPERTIES
o $name
-The name of the attribute
o $ownerElement
-The element which contains the attribute
o $schemaTypeInfo
-Not implemented yet, always is NULL
o $specified
-Not implemented yet, always is NULL
o $value
-The value of the attribute
SEE ALSO
oW3C specification of Attr
PHP Documentation Group DOMATTR(3)