11-08-2012
How to use option of Selected SUSv3 options?
when we want to us options of SUSv3 options what is the syntax of it ?
8 More Discussions You Might Find Interesting
1. Solaris
I need to copy the files from one dir to another dir based on sysdate, like
cp -> (sysdate-n) filename -> to -> new dir
n = 1,2,3.............. (3 Replies)
Discussion started by: dbasan
3 Replies
2. Solaris
Dear Brothers
First i installed suse linux with the following partition. my hd0 size is 75gb
hdc1 swap 1 gb
hdc2 native linux 39gb
For the rest of the 35 gb i did not create any partition. so i planned to install solaris 10x86 on that free space.
When i installed the solaris i... (1 Reply)
Discussion started by: sayed_021
1 Replies
3. Shell Programming and Scripting
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies
4. Shell Programming and Scripting
I am trying to print 1st, 2nd, 13th and 14th fields of a file of line numbers from 29 to 10029. I dont know how to put this in one code. Currently I am removing the selected lines by
awk 'NR==29,NR==10029' File1 > File2
and then doing
awk '{print $1, $2, $13, $14}' File2 > File3
Can... (3 Replies)
Discussion started by: ananyob
3 Replies
5. 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
6. Ubuntu
Hello Everyone,
First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you !
I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies
7. Shell Programming and Scripting
HI,
I am using below command to display the words, but i am getting awk error. Please help me out on this
I am using below code
i am getting error as
If i use below code i am getting below OP
Output from where i am trying to select the fields after delimiter ","
from here i want to... (5 Replies)
Discussion started by: darling
5 Replies
8. Solaris
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
ilogb(3M) Mathematical Library Functions ilogb(3M)
NAME
ilogb, ilogbf, ilogbl - return an unbiased exponent
SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <math.h>
int ilogb(double x);
int ilogbf(float x);
int ilogbl(long double x);
DESCRIPTION
These functions return the exponent part of their argument x. Formally, the return value is the integral part of logr| x | as a signed
integral value, for non-zero x, where r is the radix of the machine's floating point arithmetic, , which is the value of FLT_RADIX defined
in <float.h>.
RETURN VALUES
Upon successful completion, these functions return the exponent part of x as a signed integer value. They are equivalent to calling the
corresponding logb(3M) function and casting the returned value to type int.
If x is 0, the value FP_ILOGB0 is returned. For SUSv3-conforming applications (see standards(5)), a domain error occurs.
If x is +-Inf, the value INT_MAX is returned. For SUSv3-conforming applications, a domain error occurs.
If x is NaN, the value FP_ILOGBNAN is returned. For SUSv3-conforming applications, a domain error occurs.
ERRORS
These functions will fail if:
Domain Error The x argument is zero, NaN, or +-Inf.
If the integer expression (math_errhandling & MATH_ERREXCEPT) is non-zero, then the invalid floating-point exception is
raised.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
feclearexcept(3M), fetestexcept(3M), limits.h(3HEAD), logb(3M), math.h(3HEAD), scalb(3M), attributes(5), standards(5)
SunOS 5.10 1 Nov 2003 ilogb(3M)