08-27-2016
You will need to adapt it slightly for your case.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Friends,
I have to grant SHUTDOWN privilege to an ordinary user.
How this can be achieved?
J1yant (4 Replies)
Discussion started by: j1yant
4 Replies
2. Programming
Hello,
Can some one tell how to read the thread IDs of the current process in Sun Solaris.
Any help will be appreciated.
regards,
Murali (0 Replies)
Discussion started by: hmurali
0 Replies
3. Shell Programming and Scripting
How can I create a large list of document ids, about a 1,000 or more in a list without having to type them in?
If I can list these documents ids with one command I know how to transfer the output to a new vi list.
But how can I strip unwanted extra information in this list and leave only the... (1 Reply)
Discussion started by: ruben7566
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Hi ,
Is it possible to list the user's email id for further communication.
Thanks,
MoonwalaPL (3 Replies)
Discussion started by: moonwalapl
3 Replies
5. UNIX for Advanced & Expert Users
Hello guys,
I have a file in the following format(each line seperated by TAB):
=========
Filename id
Filename id1
Filename id
Filename1 id7
Filename1 id7
Filename2 id1
Filename2 id1
Filename2 id3
Filename3 id2
Filename3 id4
Filename3 id4
Filename3 id6
=========
I would like to... (2 Replies)
Discussion started by: jingi1234
2 Replies
6. UNIX for Dummies Questions & Answers
what does x(in rwx) privilege mean?
just text files or shell script files?
that's so confusing. (3 Replies)
Discussion started by: kang
3 Replies
7. Emergency UNIX and Linux Support
I have a situation where I would like to retrieve a list of ids on AIX 5.3 server, which do not have proper gecos information. The need is to fix all of these ids before it gets flagged as an audit exposure. Can someone please help me with a command/script to retrieve this list?
G (3 Replies)
Discussion started by: ggayathri
3 Replies
8. Shell Programming and Scripting
Hi,
I wanted to check which all functional ids have been set up to be used as sftp functional ids? Where can I find this data in solaris machine? (1 Reply)
Discussion started by: sidnow
1 Replies
9. Shell Programming and Scripting
Hi,
I need to list out the processes which are started/restarted today in my Solaris box. If not possible need to convert the process uptime in minutes or seconds and compare it with a configurable value to list out those process ids for further processing in my scripting.
Can any one guide... (7 Replies)
Discussion started by: ananan
7 Replies
10. UNIX for Beginners Questions & Answers
I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd.
Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies
LEARN ABOUT PHP
variant_and
VARIANT_AND(3) 1 VARIANT_AND(3)
variant_and - Performs a bitwise AND operation between two variants
SYNOPSIS
mixed variant_and (mixed $left, mixed $right)
DESCRIPTION
Performs a bitwise AND operation. Note that this is slightly different from a regular AND operation.
PARAMETERS
o $left
- The left operand.
o $right
- The right operand.
Note
As with all the variant arithmetic functions, the parameters for this function can be either a PHP native type (integer, string,
floating point, boolean or NULL), or an instance of a COM, VARIANT or DOTNET class. PHP native types will be converted to variants
using the same rules as found in the constructor for the "VARIANT" class. COM and DOTNET objects will have the value of their
default property taken and used as the variant value.
The variant arithmetic functions are wrappers around the similarly named functions in the COM library; for more information on
these functions, consult the MSDN library. The PHP functions are named slightly differently; for example variant_add(3) in PHP cor-
responds to VarAdd() in the MSDN documentation.
RETURN VALUES
Variant AND Rules
+------------+--------------------+---+
|If $left is | | |
| | | |
| | If $right is | |
| | | |
| | then the result is | |
| | | |
+------------+--------------------+---+
| | | |
| TRUE | | |
| | | |
| | | |
| | TRUE | |
| | | |
| | | |
| | TRUE | |
| | | |
| | | |
| TRUE | | |
| | | |
| | | |
| | FALSE | |
| | | |
| | | |
| | FALSE | |
| | | |
| | | |
| TRUE | | |
| | | |
| | | |
| | NULL | |
| | | |
| | | |
| | NULL | |
| | | |
| | | |
| FALSE | | |
| | | |
| | | |
| | TRUE | |
| | | |
| | | |
| | FALSE | |
| | | |
| | | |
| FALSE | | |
| | | |
| | | |
| | FALSE | |
| | | |
| | | |
| | FALSE | |
| | | |
| | | |
| FALSE | | |
| | | |
| | | |
| | NULL | |
| | | |
| | | |
| | FALSE | |
| | | |
| | | |
| NULL | | |
| | | |
| | | |
| | TRUE | |
| | | |
| | | |
| | NULL | |
| | | |
| | | |
| NULL | | |
| | | |
| | | |
| | FALSE | |
| | | |
| | | |
| | FALSE | |
| | | |
| | | |
| NULL | | |
| | | |
| | | |
| | NULL | |
| | | |
| | | |
| | NULL | |
| | | |
+------------+--------------------+---+
SEE ALSO
variant_or(3).
PHP Documentation Group VARIANT_AND(3)