I have many text file reports generated by a Information Assurance tool that I need to get into a .CSV format or Excel tab delimited format. I want to use sed or awk to grab all the information in the sample text file below and create column headings:Risk ID, Risk Level, Category, Description, How... (5 Replies)
i have a file
a.txt
12345,20
34567,10
23123,50
123456,45
how to find lines which hav 2nd entry greater than 40
o/p
23123,50
123456,45
pls help to get o/p (5 Replies)
Dear Unix users,
I have a (I think simple) question;
I have a file (out.dat) like below,
the file contains some line which include 'LOS' string.
.
LOS 46.5360 91.0220 200708.2515.4900. 5400 64 1100010
.
.
I would like to delete the points in 4th... (4 Replies)
Hi all,
I have two files:
file one (9 rows, 3 columns):
A 1 x1
B 2 f1
C 3 f3
D 4 u5
E 5 l9
F 6 h6
G 7 g4
H 8 r4
I 9 s2
file two (4 rows, 1 column):
A
B (2 Replies)
Dear Gurus,
When i ran vmstat, i am getting swpd value,but si, and so beneath the swap is o, My doubt what is the difference between these values,i,e swpd and si and so
OS is OEL 5.5
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache... (2 Replies)
Hi,
I want a flat file(pipe delimited) to be sorted based on 2nd column only. Below is input file to be sorted.
AVERS|K50034|A|Y|N|N|Y|Y|Y|||N|N
AVERS|K50035|A|Y|N|N|Y|Y|Y|||N|N... (11 Replies)
In the attached file I am trying to use awk to extract multiple values and create the tab-delimited desired output.
In the output R_Index is a the sequential # and Pre_Enrichment is defaulted to ..
I can extract from the values to the side of the keywords, but most are above and I can not... (2 Replies)
mlib_VectorMaximumMag_U8C(3MLIB) mediaLib Library Functions mlib_VectorMaximumMag_U8C(3MLIB)NAME
mlib_VectorMaximumMag_U8C, mlib_VectorMaximumMag_S8C, mlib_VectorMaximumMag_S16C, mlib_VectorMaximumMag_S32C, mlib_VectorMaximumMag_F32C,
mlib_VectorMaximumMag_D64C - find the first element with the maximum magnitude in a vector
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VectorMaximumMag_U8C(mlib_u8 *max,
const mlib_u8 *x, mlib_s32 n);
mlib_status mlib_VectorMaximumMag_S8C(mlib_s8 *max,
const mlib_s8 *x, mlib_s32 n);
mlib_status mlib_VectorMaximumMag_S16C(mlib_s16 *max,
const mlib_s16 *x, mlib_s32 n);
mlib_status mlib_VectorMaximumMag_S32C(mlib_s32 *max,
const mlib_s32 *x, mlib_s32 n);
mlib_status mlib_VectorMaximumMag_F32C(mlib_f32 *max,
const mlib_f32 *x, mlib_s32 n);
mlib_status mlib_VectorMaximumMag_D64C(mlib_d64 *max,
const mlib_d64 *x, mlib_s32 n);
DESCRIPTION
Each of these functions finds the first element with the maximum magnitude in a complex vector, then puts the real and imaginary parts of
it into max[0] and max[1], respectively.
PARAMETERS
Each of the functions takes the following arguments:
max Pointer to the first element with the maximum magnitude.
x Pointer to the first element of the source vector.
n Number of elements in the source vector.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO mlib_VectorMinimumMag_U8C(3MLIB), mlib_MatrixMaximumMag_U8C(3MLIB), mlib_MatrixMinimumMag_U8C(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_VectorMaximumMag_U8C(3MLIB)