Hi All,
I have working (Perl) code to combine 2 input files into a single output file using the join function that works to a point, but has the following limitations:
1. I am restrained to 2 input files only.
2. Only the "matched" fields are written out to the "matched" output file and... (1 Reply)
Hi Gurus,
I know this'll be simple task for all the geeks out here but me being a newbie is finding it hard to crack this shell.
Ok coming to the task I've a delimited file as below
==================================================
====================================================
... (8 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hello,
I manage a large sendmail server that handles more than 20,000 pieces of mail per day. It's a bit unusual in that all this mail is only being sent to and from 4 local accounts. (It's an automated transaction processing system, whereby users submit a transaction via email attachment). ... (2 Replies)
Below is the error being repeated on my Solaris 9 Sun-Fire-V890 machine.
SAN team confirmed as everything is fine from their end. I did google and found that some people say its a known Oracle bug when you have Oracle 10G installed on your system but I kind of disagree with them. Please see below... (2 Replies)
Hi,
I'm dealing with an issue and losing a lot of hours figuring out how i would solve this.
I have an input file which looks like this:
('BLABLA +200-GRS','Serviço ','TarifaçãoServiço','wap.bla.us.0000000121',2985,0,55,' de conversão em escada','Dia','Domingos')
('BLABLA +200-GRR','Serviço... (6 Replies)
Hi All,
Thanks all for the continued support so far.
Today, I need to find the most occurring string/number(also called mode in statistics terminology) for each column in a data file (.csv type).
For one column of data(1.txt) like below
Sample
1
2
2
3
4
1
1
1
2
I can find the mode... (6 Replies)
How can I delete a column from a CSV file which has comma separated value with a string enclosed in double quotes and a comma in between? I have a file 44.csv with 4 lines including the header like the below format:
column1, column2, column3, column 4, column5, column6
12,455,"string with... (6 Replies)
I have a .csv file:
A,B,0.6
C,D,-0.7
D,E,0.1
A,E,0.45
D,G, -0.4
I want to select rows based on the values of the 3rd columns such that it is >=0.5 or <= -0.5
Thanks.
A,B,0.6
D,G, -0.7 (1 Reply)
Discussion started by: Sanchari
1 Replies
LEARN ABOUT OSF1
abs
abs(3) Library Functions Manual abs(3)delim $$NAME
abs, div, labs, ldiv - Computes absolute value and division of integers
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <stdlib.h>
int abs (
int i );
long labs (
long i );
div_t div (
int numerator ,
int denominator);
ldiv_t ldiv (
long numerator,
long denominator);
PARAMETERS
For abs(), specifies some integer. For labs(), specifies some long integer. For div(), specifies some integer. For ldiv(), specifies
some long integer. For div(), specifies some integer. For ldiv(), specifies some long integer.
DESCRIPTION
The abs() function returns the absolute value of its integer operand.
The div() function computes the quotient and remainder of the division of the numerator numerator by the denominator denominator. If the
division is inexact, the sign of the resulting quotient is that of the algebraic quotient, and the magnitude of the resulting quotient is
the largest integer less than the magnitude of the algebraic quotient. If the result cannot be represented (for example, if the denominator
is 0), the behavior is undefined. The div() function returns a value of type div_t, comprising both the quotient and the remainder.
The labs() and ldiv() functions perform the same functions as abs() and div() respectively, but accept long integers rather than integers
as parameters. The ldiv() function returns a value of type ldiv_t, comprising both the quotient and the remainder.
NOTES
The abs(), labs(), div(), and ldiv() functions are supported for multithreaded applications.
A two's-complement integer can hold a negative number whose absolute value is too large for the integer to hold. When given this largest
negative value, the abs() function returns the same value. Full use
RETURN VALUES
The abs() function and labs() function return the absolute value of their arguments.
The div() function returns a value of type div_t and the ldiv() function returns a value of type ldiv_t.
RELATED INFORMATION
Functions: floor(3) delim off delim off
abs(3)