Hi
how to check input is "empty" and "numeric" in ksh?
e.g:
./myscript.ksh k
output show: invalid number input
./myscript.ksh
output show: no input
./myscript.ksh 10
output show: input is numeric (6 Replies)
I would like to know what means this error and how to fix it
Command 'rm -f -r "0yfOYy-0008Nq-2j-32233-K"'
failed with return code 1 and error message
Thank you (3 Replies)
AIX 4.2
I am trying to do an rsh grep to search for date records inside server logs by doing this :
xx=`date +"%a %b %d"`
rsh xxx grep "^$XX" zzz
gives :
grep: 0652-033 Cannot open Jun.
grep: 0652-033 Cannot open 11.
But if I do :
xx=`date +"%a %b %d"`
grep "^$XX" zzz
it works... (2 Replies)
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Hi all,
First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for.
I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
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)
After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks.
ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface
# ifconfig eg1000g0:2 plumb
ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface
# ifconfig... (2 Replies)
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
LEARN ABOUT PHP
runkit_function_redefine
RUNKIT_FUNCTION_REDEFINE(3) 1 RUNKIT_FUNCTION_REDEFINE(3)runkit_function_redefine - Replace a function definition with a new implementationSYNOPSIS
bool runkit_function_redefine (string $funcname, string $arglist, string $code)
DESCRIPTION
Note
By default, only userspace functions may be removed, renamed, or modified. In order to override internal functions, you must enable
the runkit.internal_override setting in php.ini.
PARAMETERS
o $funcname
- Name of function to redefine
o $arglist
- New list of arguments to be accepted by function
o $code
- New code implementation
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
A runkit_function_redefine(3) example
<?php
function testme() {
echo "Original Testme Implementation
";
}
testme();
runkit_function_redefine('testme','','echo "New Testme Implementation
";');
testme();
?>
The above example will output:
Original Testme Implementation
New Testme Implementation
SEE ALSO runkit_function_add(3), runkit_function_copy(3), runkit_function_rename(3), runkit_function_remove(3).
PHP Documentation Group RUNKIT_FUNCTION_REDEFINE(3)