02-10-2005
Thankx a billion..........
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there,
I need to split one huge file into separate files if the condition is fulfilled according to that the position between 97 and 98 matches with “IT” at the segment MAS. There is no delimiter file is fix-width with varous line length.
Could you please help me how I do split the file... (1 Reply)
Discussion started by: ozgurgul
1 Replies
2. UNIX for Dummies Questions & Answers
All,
We receive a file with a large no of records (records can vary) and we have to split it into two files based on another file. e.g.
File1:
UHDR 2008112
"25187","00000022","00",21-APR-1991,"" ,"D",-000000519,+0000000000,"C", ,+000000000,+000000000,000000000,"2","" ,21-APR-1991... (7 Replies)
Discussion started by: er_ashu
7 Replies
3. Shell Programming and Scripting
Hi ,
I have one file which has many headers.
Say suppose
HEDAER
..data DATA DATA
..data
..data
HEADER
..data
..data
DATA
.data
HEADER.
..data
..data
If there are 3 HEADERS in source file then I need to split the source file into 3 separate file.... (2 Replies)
Discussion started by: tanyaheerani
2 Replies
4. Shell Programming and Scripting
Hi All,
I have a rather stange set of requirements that I'm hoping someone here could help me with. We receive a file that is actually a concatenation of 4 files (don't believe this would change, but ideally the solution would handle n files).
The super-file looks like:... (7 Replies)
Discussion started by: Leedor
7 Replies
5. Shell Programming and Scripting
I have an input file with contents like:
MainFile.dat:
12247689|7896|77698080
16768900|hh78|78959390
12247689|7896|77698080
16768900|hh78|78959390
12247689|7896|77698080
16768900|hh78|78959390
12247689|7896|77698080
16768900|hh78|78959390
12247689|7896|77698080
16768900|hh78|78959390
... (4 Replies)
Discussion started by: rkrish
4 Replies
6. UNIX for Dummies Questions & Answers
Dear All,
I have two files but want to extract data from one based on another... can you please help me
file 1
David
Tom
Ellen
and file 2
David|0010|testnamez|resultsz
David|0004|testnamex|resultsx
Tom|0010|testnamez|resultsz
Tom|0004|testnamex|resultsx
Ellen|0010|testnamez|resultsz... (12 Replies)
Discussion started by: A-V
12 Replies
7. Shell Programming and Scripting
Hi All,
I have more than half million lines of XML file , wanted to split in four files in a such a way that top 7 lines should be present in each file on top and bottom line of should be present in each file at bottom.
from the 8th line actual record starts and each record contains 15 lines... (14 Replies)
Discussion started by: ajju
14 Replies
8. Shell Programming and Scripting
hdr=$(cut -c1 $path$file|head -1)#extract header”H”
trl=$(cut -c|path$file|tail -1)#extract trailer “T”
SplitFile=$(cut -c 50-250 $path 1$newfile |sed'$/ *$//' head -1')# to trim white space and extract table name
If; then # start loop if it is a header
While read I #read file
Do... (4 Replies)
Discussion started by: SwagatikaP1
4 Replies
9. Shell Programming and Scripting
Hello,
I have some large text files that look like,
putrescine
Mrv1583 01041713302D
6 5 0 0 0 0 999 V2000
2.0928 -0.2063 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
5.6650 0.2063 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
3.5217 ... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
10. UNIX for Beginners Questions & Answers
Hi ,
I am having a scenario where I need to split the file based on two field values. The file is a fixed length file.
ex:
AA0998703000000000000190510095350019500010005101980301
K 0998703000000000000190510095351019500020005101480 ... (4 Replies)
Discussion started by: saj
4 Replies
BT(4) BSD Kernel Interfaces Manual BT(4)
NAME
bt -- Buslogic/Mylex MultiMaster SCSI host adapter driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device isa
device scbus
device bt
In /boot/device.hints:
hint.bt.0.at="isa"
hint.bt.0.port="0x330"
DESCRIPTION
This driver provides access to the SCSI bus connected to a Buslogic/Mylex MultiMaster or compatible controller:
MultiMaster "W" Series Host Adapters:
Adapter Bus Commands Description
BT-948 PCI 192 Ultra SCSI-3
BT-958 PCI 192 Wide ULtra SCSI-3
BT-958D PCI 192 Wide Differential Ultra SCSI-3
MultiMaster "C" Series Host Adapters:
Adapter Bus Commands Description
BT-946C PCI 100 Fast SCSI-2
BT-956C PCI 100 Wide Fast SCSI-2
BT-956CD PCI 100 Wide Differential Fast SCSI-2
BT-445C VLB 100 Fast SCSI-2
BT-747C EISA 100 Fast SCSI-2
BT-757C EISA 100 Wide Fast SCSI-2
BT-757CD EISA 100 Wide Differential Fast SCSI-2
BT-545C ISA 50 Fast SCSI-2
BT-540CF ISA 50 Fast SCSI-2
MultiMaster "S" Series Host Adapters:
Adapter Bus Commands Description
BT-445S VLB 30 Fast SCSI-2
BT-747S EISA 30 Fast SCSI-2
BT-747D EISA 30 Differential Fast SCSI-2
BT-757S EISA 30 Wide Fast SCSI-2
BT-757D EISA 30 Wide Differential Fast SCSI-2
BT-545S ISA 30 Fast SCSI-2
BT-542D ISA 30 Differential Fast SCSI-2
BT-742A EISA 30 SCSI-2 (742A revision H)
BT-542B ISA 30 SCSI-2 (542B revision H)
MultiMaster "A" Series Host Adapters:
Adapter Bus Commands Description
BT-742A EISA 30 SCSI-2 (742A revisions A - G)
BT-542B ISA 30 SCSI-2 (542B revisions A - G)
Tagged queueing is supported on 'W' series adapters, 'C' series adapters with firmware of rev 4.42 and higher, and 'S' series adapters with
firmware of rev 3.35 and higher.
Boards with certain firmware revisions may lock up under heavy load to certain devices, especially if tagged queueing is used. Should you
encounter a problem with your adapter, contact Mylex technical support and ensure you have the latest firmware for your controller.
HARDWARE
The bt driver supports the following BusLogic MultiMaster ``W'', ``C'', ``S'', and ``A'' series and compatible SCSI host adapters:
o BusLogic BT-445C
o BusLogic BT-445S
o BusLogic BT-540CF
o BusLogic BT-542B
o BusLogic BT-542B
o BusLogic BT-542D
o BusLogic BT-545C
o BusLogic BT-545S
o BusLogic/BusTek BT-640
o BusLogic BT-742A
o BusLogic BT-742A
o BusLogic BT-747C
o BusLogic BT-747D
o BusLogic BT-747S
o BusLogic BT-757C
o BusLogic BT-757CD
o BusLogic BT-757D
o BusLogic BT-757S
o BusLogic BT-946C
o BusLogic BT-948
o BusLogic BT-956C
o BusLogic BT-956CD
o BusLogic BT-958
o BusLogic BT-958D
o Storage Dimensions SDC3211B / SDC3211F
AMI FastDisk Host Adapters that are true BusLogic MultiMaster clones are also supported by the bt driver.
SEE ALSO
cd(4), da(4), sa(4), scsi(4)
HISTORY
The bt driver first appeared in the 386BSD patch kit.
AUTHORS
Julian Elischer wrote a driver for the Multimaster cards that appeared in the 386BSD patch kit. The driver was rewritten by Justin T. Gibbs
to take advantage of new board features and work with the CAM SCSI framework in FreeBSD 3.0.
Special thanks to Leonard N. Zubkoff for writing such a complete and well documented Mylex/BusLogic MultiMaster driver for Linux. Support in
this driver for the wide range of MultiMaster controllers and firmware revisions, with their otherwise undocumented quirks, would not have
been possible without his efforts.
BSD
June 18, 2006 BSD