Sponsored Content
Top Forums Shell Programming and Scripting Split the Master and Child Records Post 302618017 by Corona688 on Tuesday 3rd of April 2012 12:50:27 PM
Old 04-03-2012
Please show the output you want for this input.

Also, your attachment doesn't appear to have worked.

[edit] Attachments appear to be working again.

Last edited by Corona688; 04-04-2012 at 11:18 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

dynamically split the records

Hi, I was wandering would it be possible to split the record dynamically based on the certain values, for an instance i have a file with record with predefined split value i.e 10 col1 col2 col3 col4 ------------------------ aaaa bbbb 2 44aaaabbbb55cccddd1110 mmn xnmn 3... (6 Replies)
Discussion started by: braindrain
6 Replies

2. UNIX for Advanced & Expert Users

Split records based on '-'

HI, I have a pipe delimiter file , I have to search for second field pattern, if the second field does not contain a '-' , I need to start capturing the record from this line till I find another second field with '-' value. Below is the sample data SOURCE DATA ABC|ABC_702148-PARAM... (3 Replies)
Discussion started by: mora
3 Replies

3. Shell Programming and Scripting

split records into different files

Hi All, I want my file to be split based on value of 'N' (passed as argument). If value of 'N' is '2' then 4 new files will be generated from the below source file and the o/p file shoud look like File_$num , where num will be incremental. Source file: 1 2 3 4 5 O/p Files: ... (6 Replies)
Discussion started by: HemaV
6 Replies

4. Shell Programming and Scripting

Split records into multiple records

Hi All, I am trying to split a record into multiple records based on a value. Input.txt "A",1,0,10 "B",2,0,10,15,20 "C",3,11,14,16,19,21,23 "D",1,0,5 My desired output is: "A",1,0,10 "B",2,0,10 "B",2,15,20 "C",3,11,14 "C",3,16,19 "C",3,21,23 (4 Replies)
Discussion started by: kmsekhar
4 Replies

5. Shell Programming and Scripting

Split Records

I have a flat file with 2 columns Id,loc 1,nj:ny:pa 2,pa 3,ca:tx:fl:nj Second colum data is seperated by semi colon and can i have many locations for one id Output i need is 1,nj 1,ny 1,pa 1,pa 3,ca 3,tx 3,fl (1 Reply)
Discussion started by: traininfa
1 Replies

6. Shell Programming and Scripting

Split file based on records

I have to split a file based on number of lines and the below command works fine: split -l 2 Inputfile -d OutputfileMy input file contains header, detail and trailor info as below: H D D D D TMy split files for the above command contains: First File: H DSecond File: ... (11 Replies)
Discussion started by: Ajay Venkatesan
11 Replies

7. Shell Programming and Scripting

Split records

Hi I have a file $cat test a,1;2;3 b,4;5;6;7 c,8;9 I want to split each record to multiple based on semicolon in 2nd field. i.e a,1 a,2 a,3 b,4 b,5 (3 Replies)
Discussion started by: Shivdatta
3 Replies

8. UNIX Desktop Questions & Answers

How can I replicate master master and master master MySQL databse replication and HA?

I have an application desigend in PHP and MySQl running on apache web server that I is running on a Amazon EC2 server Centos. I want to implement the master-master and master slave replication and high availability disaster recovery on this application database. For this I have created two... (0 Replies)
Discussion started by: Palak Sharma
0 Replies

9. Shell Programming and Scripting

How to split one record to multiple records?

Hi, I have one tab delimited file which is having multiple store_ids in first column seprated by pipe.I want to split the file on the basis of store_id(separating 1st record in to 2 records ). I tried some more options like below with using split,awk etc ,But not able to get proper output. can... (1 Reply)
Discussion started by: jaggy
1 Replies

10. Shell Programming and Scripting

Passing key column from parent to child records

Hi Forum. I have this challenging issue that I'm hoping someone can help me. I have a file that contains 3 different types of segments (AM00, AM01, AM32) in a hierarchy structure and I want to be able to pass the column key from the parent record to the children records. AM00 - parent key:... (13 Replies)
Discussion started by: pchang
13 Replies
ADV(4)							   BSD Kernel Interfaces Manual 						    ADV(4)

NAME
adv -- ConnectCom Solutions AdvanSys SCSI adapter driver SYNOPSIS
adv* at pci? dev ? function ? adv0 at isa? port ? irq ? drq ? adv* at cardbus? function ? scsibus* at adv? DESCRIPTION
The adv driver supports the following AdvanSys SCSI host adapters PCI bus Connectivity Products: ABP920 Bus-Master PCI (16 CDB) ABP930 Bus-Master PCI (16 CDB) (note 1) ABP930U Bus-Master PCI Ultra (16 CDB) ABP930UA Bus-Master PCI Ultra (16 CDB) ABP960 Bus-Master PCI MAC/PC (16 CDB) (note 2) ABP960U Bus-Master PCI MAC/PC Ultra (16 CDB) (note 2) Notes: 1. This board has been sold by SIIG as the Fast SCSI Pro PCI. 2. This board has been sold by Iomega as a Jaz Jet PCI adapter. Single Channel Products: ABP940 Bus-Master PCI (240 CDB) ABP940U Bus-Master PCI Ultra (240 CDB) ABP970 Bus-Master PCI MAC/PC (240 CDB) ABP970U Bus-Master PCI MAC/PC Ultra (240 CDB) ABP940UW Bus-Master PCI Ultra-Wide (240 CDB) Multi Channel Products: ABP950 Dual Channel Bus-Master PCI (240 CDB Per Channel) ABP980 Four Channel Bus-Master PCI (240 CDB Per Channel) ABP980U Four Channel Bus-Master PCI Ultra (240 CDB Per Channel) ISA bus Connectivity Products: ABP510/5150 Bus-Master ISA (240 CDB) (note 1) ABP5140 Bus-Master ISA (16 CDB) (note 1) (note 2) ABP5142 Bus-Master ISA with floppy (16 CDB) (note 3) Notes: 1. This board has been shipped by HP with the 4020i CD-R drive. The board has no BIOS so it cannot control a boot device, but it can con- trol any secondary SCSI device. 2. This board has been sold by SIIG as the i540 SpeedMaster. 3. This board has been sold by SIIG as the i542 SpeedMaster. Single Channel Products: ABP542 Bus-Master ISA with floppy (240 CDB) ABP842 Bus-Master VL (240 CDB) Dual Channel Products: ABP852 Dual Channel Bus-Master VL (240 CDB Per Channel) SEE ALSO
cd(4), ch(4), intro(4), isa(4), pci(4), scsi(4), sd(4), st(4) http://www.connectcom.net/ http://www.siig.com/ HISTORY
The adv device driver appeared in NetBSD 1.4. AUTHORS
Baldassare Dante Profeta <dante@mclink.it> BSD
June 4, 1999 BSD
All times are GMT -4. The time now is 05:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy