Hi All,
Here is my original string: 192.168.2.1.8088. The target string I want: 192.168.2.1, how can I use awk or sed or other command to get rid of .8088 in the string?
Thanks,
Ray (9 Replies)
Hi
I am executing below command to do summation on 46th coloumn.
cat File1| awk -F"|" '{p += $46} END { printf"Column Name | SUM | " p}'
I am getting output as
Column Name | SUM | 1.01139e+10
Here I want output in Proper decimal format. Can someone tell me what change is required for same? (1 Reply)
Hi Experts,
Quick quesion:
I want to sort this in the file , but not working, when using # sort file name
305.932
456.470
456.469
456.468
456.467
172.089
456.467
456.466
456.465
111.573
111.578
111.572
111.572
87.175
87.174
75.898 (4 Replies)
i am having a varialbe a , which is input to my file
i want to multiply this input with value .43, and assign it to variable b.
i tried it as below:
#!/bin/sh
a=$1
b=`expr $1\*0.43`
echo b=$b
error : expr: non-integer argument
Please tell me , how to do this.
Thanks (10 Replies)
Hi All,
I would like to set decimal point to 16 in the following bash script but it has syntax error at }:
awk '{printf"%.16e", (a<500,a++,$1/(a*1.1212121212121229e-02))}' input.dat >output.datHow may I set it in the correct way please? Thank you very much! (6 Replies)
Dear all,
I have a txt file with only one column which contains p values. My data looks like this:
5.04726976606584e-190
2.94065711152402e-189
2.94065711152402e-189
9.19932135717279e-176
1.09472516659859e-170
1.24974648916809e-170
0.1223974648916
0.9874974648916
...
what I want... (2 Replies)
Hi All,
I have problem in the middle of implementing to users, whereby the complaint is all about the decimal place which is too long. I need two decimal places only, but the outcome from command is always fixed to 6.
See the sample :
before:
Sort Total
Site Sort SortName Parts ... (3 Replies)
Dear all,
I have a data test.txt as below.
X22.30799720_T cg03868770 -0.5645412582127 2.4084685750406e-175
X22.30781182_A cg03868770 -0.5620426397492 3.5818034129169e-172
X22.30780724_C cg03868770 -0.5616890165605 2.9765569717858e-168
what I want is:
X22.30799720_T cg03868770... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Is there a grep commands for numbers w/decimal points
Display lines for students with GPA above 3.69 but less... (3 Replies)
Discussion started by: jetoutant
3 Replies
LEARN ABOUT OSF1
tis_cond_destroy
tis_cond_destroy(3) Library Functions Manual tis_cond_destroy(3)NAME
tis_cond_destroy - Destroys the specified condition variable.
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <tis.h>
int tis_cond_destroy(
pthread_cond_t *cond);
STANDARDS
None
PARAMETERS
Address of the condition variable (passed by reference) to be destroyed.
DESCRIPTION
This routine destroys the condition variable specified by cond. After this routine is called, DECthreads may reclaim internal storage used
by the condition variable object. Call this routine when a condition variable will no longer be referenced.
The results of this routine are unpredictable if the condition variable specified in cond does not exist or is not initialized.
For more information about actions when threads are present, refer to the pthread_cond_destroy(3) description.
RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
Successful completion. The object being referenced by cond is being referenced by another thread that is currently executing
tis_cond_wait(3) on the condition variable specified in cond. (This error can only occur when threads are present.) The value specified
by cond is not a valid condition variable.
ERRORS
None
RELATED INFORMATION
Functions: tis_cond_broadcast(3), tis_cond_init(3), tis_cond_signal(3), tis_cond_wait(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
tis_cond_destroy(3)