## Linux and UNIX Man Pages

Test Your Knowledge in Computers #172
Difficulty: Easy
Red Hat is the largest contributor to the GNOME desktop environment.
True or False?

# catan(3m) [opensolaris man page]

```catan(3M)						  Mathematical Library Functions						 catan(3M)

NAME
catan, catanf, catanl - complex arc tangent functions

SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <complex.h>

double complex catan(double complex z);

float complex catanf(float complex z);

long double complex catanl(long double complex z);

DESCRIPTION
These functions compute the complex arc tangent of z, with branch cuts outside the interval [ -i, +++++pipii ] along the imaginary axis.

RETURN VALUES
These  functions return the complex arc tangent value, in the range of a strip mathematically unbounded along the imaginary axis and in the
interval [ -pi/2, +pi/2 ] along the real axis.

ERRORS
No errors are defined.

ATTRIBUTES
See attributes(5) for descriptions of the following attributes:

+-----------------------------+-----------------------------+
|      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
+-----------------------------+-----------------------------+
|Interface Stability	     |Standard			   |
+-----------------------------+-----------------------------+
|MT-Level		     |MT-Safe			   |
+-----------------------------+-----------------------------+

SunOS 5.11							    12 Jul 2006 							 catan(3M)```

## Check Out this Related Man Page

```catan(3M)						  Mathematical Library Functions						 catan(3M)

NAME
catan, catanf, catanl - complex arc tangent functions

SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <complex.h>

double complex catan(double complex z);

float complex catanf(float complex z);

long double complex catanl(long double complex z);

DESCRIPTION
These functions compute the complex arc tangent of z, with branch cuts outside the interval [ -i, +++++i ] along the imaginary axis.

RETURN VALUES
These  functions return the complex arc tangent value, in the range of a strip mathematically unbounded along the imaginary axis and in the
interval [ -/2, +/2 ] along the real axis.

ERRORS
No errors are defined.

ATTRIBUTES
See attributes(5) for descriptions of the following attributes:

+-----------------------------+-----------------------------+
|      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
+-----------------------------+-----------------------------+
|Interface Stability	     |Standard			   |
+-----------------------------+-----------------------------+
|MT-Level		     |MT-Safe			   |
+-----------------------------+-----------------------------+

SunOS 5.10							    1 Sep 2002								 catan(3M)```

## batching files together

I'm looking after part of an application which batches up files concatanates them together and then moves the concatanated files to another directory. The problem I have is that the box runs Windows 2003 and UNIX shell emulation is provided by MKS Toolkit, when 10,000 or more files arive in the...

## How to append a file extension to end of a file name??

Hi, I have a .txt file and it contains some file names.I want to append .gz extension to all the file names that are present within the .txt file. Input. aa.bb.Mar-20-2007 aa.cc.Mar-20-2007 Output aa.bb.Mar-20-2007.gz aa.cc.Mar-20-2007.gz Please help me with this command. ...

## How to convert a 2 digit to 4 digit

Hi All, How can i convert a number 24 to 0024 In the same way how can i convert 123 to 0123? All this has to be done inside a script Thanks in advance JS

## Display files created on particular date

hi , i am trying to display the files created on a particular date. I have tried using find .-mtime +n but these files are created on november 6th 2007 , so i'm not sure of what the 'n' value should be. And the number of files created on that particular day are more than 5000 so i have to make a...

## Add a column to a file with nawk

Hi all, I'm new at forum, I cant find an answer to my problem so , I need a file which has pipe as a file separator and I need to add a column to a file in the third column I write this code but it s not enough , cat allproblems | nawk'\ BEGIN { FS:"|" } {print \$3 \$4 \$5, ????} ' ...

## Mean of the specific columns

I have a input file that has some common values in 1st,2nd and 3rd columns. 4th and 5th are different. Now I would like to print the mean of the fourth column of similar values in 1st.2nd and 3rd columns along with all the values in 5th column. input NM_0 1.22 CR5 0.4 n_21663...

## Concatenate Loop Results

Hi, I have the following situation: Param1Values = AAAA,BBBB Param1=\$(echo \$Param1Values| tr "," "\n") for x in \$Param1 do db2 select X from Y where Z IN ('\$x') done Obviously the above will perform the select 'x' amount of times. Is there a way in which i can...

## Ignoring newlines in my search

I have a file that has lines that are deliminated with '^A', but some of the lines go for a few lines and I need those lines to be appended into one line. All of the lines start with 'low debug' and end with ' " 0 '. How can I read each line from start to finish without some of the data...

## Page Break in a file for printing

Hi, We have 1lac records in source file and unix script will genarate around 1000 files. From target location the files are taking for printing on physical papers. the page size limitation : 256 Lines Can you please tell me how to insert the page break in a flat file for printer.

## Script to loop through the files

Hi Experts, Need some help regarding a requirement -- I may get any number of zipped files in a month (max 36). each of those wil contain a detail file and a header file. Also when the files arrive, there will already be previous days file lying around. What I am trying to do is count the...

## Printing double quotes in echo command

Please help me to use echo or printf type of command to print some value from variable within double quotes - I want to print the double quote ( " ") also. I tried #!/bin/bash VALUE=some_value echo '{"value" : "\$VALUE"}' I was expecting the above script would produce .. {"value" :...

## Change - Password expiry Reset (Boot)

I have been searching the web for the answer to this question but without joy. Hopefully, someone here can point me in the right direction... We have a number of application OS accounts which require to be set with password non-expiry via the chage command, such as for example... chage -M 0...