9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
2. Solaris
Am trying to install a account script in oracle 8i and I keep getting ORA-00001: unique constraint violated as the screen shot below shows so am wondering how do i fix this i have posted the full code that is the issue.
i hope some one can help me, thanks a lot
http://www.livve.com/sqlbug.jpg... (2 Replies)
Discussion started by: Wpgn
2 Replies
3. UNIX for Advanced & Expert Users
Hello there,
I hope that I am posting in the right section here, please advise if I posted wrong.
I currently try to change passwords in our Active Directory Envoirenment via LDAP on Linux since the users in question do not have access to a windows-machine and we want to keep it that way. ... (0 Replies)
Discussion started by: henryford
0 Replies
4. Shell Programming and Scripting
hi,
how to I do this?
i="4.000"
if ; then
echo "smaller"
fi
how do I convert the "4.000" to 4?
Thanks! (4 Replies)
Discussion started by: h0ujun
4 Replies
5. Shell Programming and Scripting
here in the below code just a space between 'Info' and '(' is showing that the patter doesnt match...
echo "CREATE TABLE Info (" | grep -i "CREATE TABLE Info (" | wc | awk -F' ' '{print $1}'
1
echo "CREATE TABLE Info (" | grep -i "CREATE TABLE Info (" | wc | awk -F' ' '{print $1}'
0
... (9 Replies)
Discussion started by: vivek d r
9 Replies
6. Shell Programming and Scripting
Hi I have 100 files in my directory.
Please help me how to do in Unix or any other scriptin lanuages.
I want to replace all occurances of "goutham" to goutham_ind ONLY if the file contains the word "goutham" with the word "engineer";
for eg----test1 is a file contains the following inf;
goutham... (6 Replies)
Discussion started by: nandugo1
6 Replies
7. Shell Programming and Scripting
Hi!
I got an strange trouble executing a stored procedures that goes inserting line by line on a table. I mus integrate it with perl for an specific task... the hole process is controlled by e Perl script that:
Load a text file calling sqlldr.
Call a stored procedure that process the... (2 Replies)
Discussion started by: jparra
2 Replies
8. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
9. Shell Programming and Scripting
Hi guys,
I have been making a simple script for looking for anagram solutions in a word list (a file of 22k or so words).
At the moment it funtions like so:
User enters an 8 character string (whatever letters you want to find anagrams of, or solve rather)
The script moves all the words... (2 Replies)
Discussion started by: Donthommo
2 Replies
HTML::Widget::Constraint::CallbackOnce(3pm) User Contributed Perl Documentation HTML::Widget::Constraint::CallbackOnce(3pm)
NAME
HTML::Widget::Constraint::CallbackOnce - CallbackOnce Constraint
SYNOPSIS
my $c = $widget->constraint( 'CallbackOnce', 'foo', 'bar' )->callback(
sub {
my ($foo, $bar) = @_;
return 1 if $foo == $bar * 2;
});
DESCRIPTION
A callback constraint which will only be run once for each call of "process" in HTML::Widget.
METHODS
callback
cb
Arguments: &callback
Requires a subroutine reference used for validation, which will be passed a list of values corresponding to the constraint names.
"cb" is provided as an alias to "callback".
process
Overrides "process" in HTML::Widget::Constraint to ensure "validate" is only called once for each call of "validate".
render_errors
Arguments: @names
A list of element names for which an error should be displayed.
If this is not set, the default behaviour is for the error to be displayed for all of the Constraint's named elements.
validate
perform the actual validation.
AUTHOR
Carl Franks "cfranks@cpan.org"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2007-03-01 HTML::Widget::Constraint::CallbackOnce(3pm)