Sponsored Content
Top Forums Shell Programming and Scripting Merge row based on replicates ID Post 302973790 by giuliangiuseppe on Saturday 21st of May 2016 03:51:09 PM
Old 05-21-2016
Yes my specific case was without more that 2 replicates.
Thank you for your help!

Best
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Merge Two Files based on First column

Hi, I need to join two files based on first column of both files.If first column of first file matches with the first column of second file, then the lines should be merged together and go for next line to check. It is something like: File one: 110001 abc efd 110002 fgh dfg 110003 ... (10 Replies)
Discussion started by: apjneeraj
10 Replies

2. Shell Programming and Scripting

merge files with same row values

Hi everyone, I'm just wondering how could I using awk language merge two files by comparison of one their row. I mean, I have one file like this: file#1: 21/07/2009 11:45:00 100.0000000 27.2727280 21/07/2009 11:50:00 75.9856644 25.2492676 21/07/2009 11:55:00 51.9713287 23.2258072... (4 Replies)
Discussion started by: tonet
4 Replies

3. Shell Programming and Scripting

How to merge lines based off of text?

Hello Everyone, I have two files, similar to the following: File 1: 8010 ITEM01 CODE1 FLAG1 filler filler 7020 OBJECT CODE2 FLAG2 filler 6010 THING1 CODE4 FLAG4 6011 ITEM20 CODE7 FLAG7 File 2 contains: 6020 ITEM01 CODEA FLAGA filler filler filler 7000 OBJECT CODEB... (2 Replies)
Discussion started by: jl487
2 Replies

4. Shell Programming and Scripting

Help with merge data based on similarity

Input_file data1 USA 100 ASE data3 UK 20 GWQR data4 Brazil 40 QWE data2 Scotland 60 THWE data5 USA 40 QWERR Reference_file USA 12312 34532 1324 Brazil 23321 231 3421 Scotland 342 34235 UK 231 141 England... (1 Reply)
Discussion started by: patrick87
1 Replies

5. Shell Programming and Scripting

How to merge multiple rows into single row if first column matches ?

Hi, Can anyone suggest quick way to get desired output? Sample input file content: A 12 9 A -0.3 2.3 B 1.0 -4 C 34 1000 C -111 900 C 99 0.09 Output required: A 12 9 -0.3 2.3 B 1.0 -4 C 34 1000 -111 900 99 0.09 Thanks (3 Replies)
Discussion started by: cbm_000
3 Replies

6. Shell Programming and Scripting

Merge files based on columns

011111123444 1234 1 20000 011111123444 1235 1 30000 011111123446 1234 3 40000 011111123447 1234 4 50000 011111123448 1234 3 50000 File2: 011111123444,Rsttponrfgtrgtrkrfrgtrgrer 011111123446,Rsttponrfgtrgtr 011111123447,Rsttponrfgtrguii 011111123448,Rsttponrfgtrgtjiiu I have 2 files... (4 Replies)
Discussion started by: vinus
4 Replies

7. Shell Programming and Scripting

Merge lines based on match

I am trying to merge two lines to one based on some matching condition. The file is as follows: Matches filter: 'request ', timestamp, <HTTPFlow request=<GET: Matches filter: 'request ', timestamp, <HTTPFlow request=<GET: Matches filter: 'request ', timestamp, <HTTPFlow ... (8 Replies)
Discussion started by: jamie_123
8 Replies

8. Shell Programming and Scripting

Help with merge data at same column but different row inquiry

Hi, Anyone did experience to merge data at same column but different row previously by using awk, sed, perl, etc? Input File: SSO12256 SSO0001 thiD-1 rbsK-1 SSO0006 SSO0007 SSO0008 SSO0009 SSO0010 SSO0011 Desired Output File: (5 Replies)
Discussion started by: perl_beginner
5 Replies

9. Shell Programming and Scripting

Help with merge row if share same column info

Input file: 32568 SSO7483 32568 SSO7486 117231 SSO1293 117231 SSO1772 178081 SSO3076 178081 SSO3077 222417 porA-2 222417 porB-2 263778 SSO1245 263778 SSO0509 . . Desired output: 32568 SSO7483,SSO7486 117231 ... (3 Replies)
Discussion started by: perl_beginner
3 Replies

10. Shell Programming and Scripting

Splitting single row into multiple rows based on for every 10 digits of last field of the row

Hi ALL, We have requirement in a file, i have multiple rows. Example below: Input file rows 01,1,102319,0,0,70,26,U,1,331,000000113200000011920000001212 01,1,102319,0,1,80,20,U,1,241,00000059420000006021 I need my output file should be as mentioned below. Last field should split for... (4 Replies)
Discussion started by: kotra
4 Replies
pspaint(3U)						    InterViews Reference Manual 					       pspaint(3U)

NAME
PSBrush, PSColor, PSFont, PSPattern - graphics state objects with added PostScript information SYNOPSIS
#include <Unidraw/Graphic/pspaint.h> DESCRIPTION
PSBrush, PSColor, PSFont, and PSPattern are subclasses of Brush, Color, Font, and Pattern, respectively, that store added information needed to generate idraw-compatible PostScript. Unidraw's structured graphics objects use these subclasses exclusively. PSBRUSH PUBLIC OPERATIONS
PSBrush() PSBrush(int pattern, int width) Create an undefined PSBrush (the parameterless constructor) or one having the specified line pattern and width. Structured graphics having an undefined brush will not render their stroked portions. int GetLinePattern() int Width() Return constructor-specified brush parameters. boolean None() Return true if this is an undefined brush. const int* GetDashPattern() int GetDashPatternSize() int GetDashOffset() Return values required to characterize the brush in PostScript. The equivalent PostScript dash pattern is computed from the brush's line pattern. PSBRUSH PROTECTED OPERATIONS
void CalcDashPat(int) Compute the equivalent PostScript dash pattern from the line pattern specified in the constructor. PSCOLOR PUBLIC OPERATIONS
PSColor( Color_Intensity, Color_Intensity, Color_Intensity, const char* name ) Create a PSColor, supplying color intensity information and a name to associate with the intensities. The name is used solely to generate idraw-compatible PostScript. PSFONT PUBLIC OPERATIONS
PSFont( const char* name, const char* PS_name, const char* PS_size ) Construct a PSFont, supplying the window-system-specified font name and the corresponding PostScript font name and its size. const char* GetName() const char* GetPrintFont() const char* GetPrintSize() const char* GetPrintFontAndSize() Return constructor-supplied parameters. GetPrintFontAndSize returns the concatenation of the PostScript font name and its size, with a space interposed for legibility. int GetLineHt() Return an integer version of the PostScript font's size (as supplied to the constructor). PSPATTERN PUBLIC OPERATIONS
PSPattern() PSPattern(int dither, float graylevel) PSPattern(const int* pattern, int) Create an undefined PSPattern (the parameterless constructor), or one having specific dither and graylevel values, or one that replicates a pattern defined by the given array. Structured graphics having an undefined pattern will not render their filled por- tions. boolean None() Return true if this is an undefined pattern. float GetGrayLevel() Return the graylevel that the pattern approximates, if one was specified in the constructor. const int* GetData() int GetSize() Return the array that defines the replicated pattern and its size, if the pattern was constructed with one. SEE ALSO
idraw(1I), pspaint(3I), and the InterViews 3.1 reference manual Unidraw 2 February 1991 pspaint(3U)
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy