09-04-2015
Hello R. Singh,
I want the value of inverse sin. Also i cant reply your mess since i have less then ten post made. Anyway i really apppreciate your effort.
Thanks,
Dinesh.n
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I need few clarification in types of paste command ussage in coulmn mode :
In a directory i have few file distinguished as *.cpu *.vmem and *.mem
and have coulmn entries like
first cpu file
89576
89576
89576
89576
89576
89576
89576
second cpu file
46312
46312
46312 (3 Replies)
Discussion started by: er_aparna
3 Replies
2. Shell Programming and Scripting
Folks,
I have multiple files in a folder containing some information (there is around 100 of them). What I would like to do would be able to import some of the information into a summary text file so that it will be easier to read a glance.
The name of the files all start with the naming... (4 Replies)
Discussion started by: lodey
4 Replies
3. Shell Programming and Scripting
hello gurus ,
i want to merge different column from two different file. file struture is below.
file 1
-------
~information is given
Name class section
A 5 b
B 7 C
D 8 A
file 2 (10 Replies)
Discussion started by: rahul sharma11
10 Replies
4. Shell Programming and Scripting
Hi to everybody.
Is it possible to nohup a process and redirect the output to a file containing the PID?
E.g. if
nohup filename > out.nohup
associate the PID=8074 to filename, is it possible to call the output file something like out_8074.nohup instead of out.nohup? By this way it would... (0 Replies)
Discussion started by: plsrn
0 Replies
5. Shell Programming and Scripting
Hi,
I am trying to replace a specific column values in a csv file with double quotes.
Example:
SNO,NAME,ZIPCODE,RANK
1,Robert,74538,12
2,Sam,07564,13
3,Kim, Ed,12345,14
Desired Output:
SNO,NAME,ZIPCODE,RANK
1,Robert Ken,74538,12
2,Sam Mik,"07564",13
3,"Kim, Ed",12345,14
I... (3 Replies)
Discussion started by: techmoris
3 Replies
6. UNIX for Dummies Questions & Answers
Hi guys
I'm new to this forum so please help me in this
I have a file where i need to replace a pattern value=' ' with the pattern value='abc'
and moreover that abc value must be passed from some variable
say i assign name=abc and use name as the value to replace instead of the direct string... (10 Replies)
Discussion started by: sundarj
10 Replies
7. Shell Programming and Scripting
Hi,
I need help to find values between two different fields based on $6 (NUM) AND $1 (CD), within the same ID. The result should show the values between the NUMs which will be extracted from within $3 and $2 in data.txt file below.
data.txt
ex 139 142 Sc_1000004 ID 4
CD ... (2 Replies)
Discussion started by: redse171
2 Replies
8. Shell Programming and Scripting
Hi ,
I have two files, say KEY_FILE and the MAIN_FILE. I am trying to read the KEY_FILE which has only one column and look for this column data in the MAIN_FILE to extract all the rows that have this key.
I have written a script to do so, but somehow it is not returning all the rows (
It... (4 Replies)
Discussion started by: Sheel
4 Replies
9. Shell Programming and Scripting
Hi everyone,
This is an exemple of inpout.txt file (a "," delimited text file which can be open as csv file):
ID, Code, Value, Store SP|01, AABBCDE, 15, 3 SP|01, AABBCDE, 14, 2 SP|01, AABBCDF, 13, 2 SP|01, AABBCDE, 16, 3 SP|02, AABBCED, 15, 2 SP|01, AABBCDF, 12, 3 SP|01, AABBCDD,... (1 Reply)
Discussion started by: jeremy589
1 Replies
EV(1) General Commands Manual EV(1)
NAME
ev - evaluate expressions
SYNOPSIS
ev 'expr' ..
DESCRIPTION
Ev evaluates expressions given on the command line, and sends the results to the standard output, one per line. An expression contains
real numbers, function calls, and the following operators:
+ - * / ^
Operators are evaluated left to right, except '^', which is right associative. Powers have the highest precedence; multiplication and
division are evaluated before addition and subtraction. Expressions can be grouped with parentheses. All values are double precision
real.
The following library of functions is available:
if(cond, then, else)
if cond is greater than zero, then is evaluated, otherwise else is evaluated.
select(N, a1, a2, ..)
return aN (N is rounded to the nearest integer). If N is zero, the number of available arguments is returned.
rand(x) compute a random number between 0 and 1 based on x.
floor(x) return largest integer not greater than x.
ceil(x) return smallest integer not less than x.
sqrt(x) return square root of x.
exp(x) compute e to the power of x (e approx = 2.718281828).
log(x) compute the logarithm of x to the base e.
log10(x) compute the logarithm of x to the base 10.
sin(x), cos(x), tan(x)
trigonometric functions.
asin(x), acos(x), atan(x)
inverse trigonometric functions.
atan2(y, x)
inverse tangent of y/x (range -pi to pi).
EXAMPLE
To pass the square root of two and the sine of .5 to a program:
program `ev 'sqrt(2)' 'sin(.5)'`
AUTHOR
Greg Ward
SEE ALSO
icalc(1), rcalc(1)
RADIANCE
10/28/96 EV(1)