10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
2. Shell Programming and Scripting
Hi,
I have a direcory as mentioned below:
/development/arun/cycdt/
unser the above i have directories
/2013
/2012
/2011
......
.....
/2000
I need to write a script which can delete the nth version of the directories.
as in if n=10 then the script should arrange the directories in... (2 Replies)
Discussion started by: Arun Mishra
2 Replies
3. Ubuntu
Hi,
I am trying to downgrade the version of rsyslog to the older version (i.e) and when i issue the below command to check the packages i dont see the required package (i.e)
and when i try to install it is complaining about package not found.
Please advise on how to install the... (1 Reply)
Discussion started by: prash358
1 Replies
4. Shell Programming and Scripting
Hi,
I want to know what version of the java is installed?
Please let me know the command or process to identify the installed java version in sun solaris box.
Thanks in advance for all your support. (3 Replies)
Discussion started by: sridhardwh
3 Replies
5. Shell Programming and Scripting
When I am trying to use below code of for loop on older version of ksh
it not working,and I just want to use only FOR loop
-----------------
for i in (1..5)
do
echo $i
done
-----------------
please suggest.it really stoping me.
FYI: i want to do this only by for loop (2 Replies)
Discussion started by: RahulJoshi
2 Replies
6. Shell Programming and Scripting
This should be a simple script, but can't find one with google search.
I just need to find the file that is in many directories, then overwrite that file with a newer version i.e.
find file.jar then overwrite with /root/file.jar
All I get in searches is substitute text with new test inside... (1 Reply)
Discussion started by: haircat
1 Replies
7. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
.profile has been replaced with a new one. I need to know the variables used in the older version of .profile. I have a session opened using the old .profile.
Is there a way that I can get the exact file.
I had some luck by using set command. But is there any way that I can get the... (5 Replies)
Discussion started by: shash
5 Replies
9. Shell Programming and Scripting
Hi,
With the command perl -v i can see the perl version, but it's like a text file..
is there a command which could give me just the perl version number?
i.e.: "5.8.1"
thanks!! (6 Replies)
Discussion started by: kfad
6 Replies
10. UNIX for Advanced & Expert Users
Hi,
I wanted to know how can I get the version of underlying HP-OS installed on a HPUX workstation. The output required is "June 2001" version or "March 2003" version etc whatever OS is present.
Thanx in advance for your help.
Regards,
Pankaj (3 Replies)
Discussion started by: pankschawla
3 Replies
XML_SET_CHARACTER_DATA_HANDLER(3) 1 XML_SET_CHARACTER_DATA_HANDLER(3)
xml_set_character_data_handler - Set up character data handler
SYNOPSIS
bool xml_set_character_data_handler (resource $parser, callable $handler)
DESCRIPTION
Sets the character data handler function for the XML parser $parser.
PARAMETERS
o $parser
- A reference to the XML parser to set up character data handler function.
o $handler
-$handler is a string containing the name of a function that must exist when xml_parse(3) is called for $parser. The function
named by $handler must accept two parameters:
handler (resource $parser, string $data)
o $parser
- The first parameter, parser, is a reference to the XML parser calling the handler.
o $data
- The second parameter, $data, contains the character data as a string.
Character data handler is called for every piece of a text in the XML document. It can be called multiple times inside each frag-
ment (e.g. for non-ASCII strings). If a handler function is set to an empty string, or FALSE, the handler in question is disabled.
Note
Instead of a function name, an array containing an object reference and a method name can also be supplied.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
PHP Documentation Group XML_SET_CHARACTER_DATA_HANDLER(3)