I've got some huge text files look like below. I've cut a couple blocks from about 67000 blocks in the file. Basically, I would like to pick up the second line of each blocks.
So after manipulating the file, it seems to be like this.
I've no clue how to work with a huge text file like this and Excel over Window definitely doesn't work.
Any idea would be much appreciate.
Best wishes,
Last edited by Franklin52; 10-09-2009 at 03:55 AM..
Reason: Please use code tags!
Hi
I want to delete first five and last five lines in text files without opening the file and also i want to keep the same file name for all the files.
Thanks in advance!!!
Ragav (10 Replies)
Hi
I am writing a script which should read a file and search for certain strings 'approved' or 'removed' and retain only those lines that contain the above strings.
Ex: file name 'test'
test:
approved package
waiting for approval package
disapproved package
removed package
approved... (14 Replies)
Input:
a
b
b
c
d
d
I need:
a
c
I know how to get this (the lines that have duplicates) :
b
d
sort file | uniq -d
But i need opossite of this. I have searched the forum and other places as well, but have found solution for everything except this variant of the problem. (3 Replies)
First of all, I know this can be more eassily done with perl or other scripting languages but, that's not the issue. I need this in sed. (or wander if it's possible )
I got a file (trace file to recreate the control file from oracle for the dba boys)
which contains
some lines
another line... (11 Replies)
Hello,
I have a group of text files with many lines in each file.
I need to delete all the lines in each and only leave 2 lines in each file. (3 Replies)
Hi All,
I have a very huge file (4GB) which has duplicate lines. I want to delete duplicate lines leaving unique lines. Sort, uniq, awk '!x++' are not working as its running out of buffer space.
I dont know if this works : I want to read each line of the File in a For Loop, and want to... (16 Replies)
hey guys,
I tried searching but most 'search and replace' questions are related to one liners.
Say I have a file to be replaced that has the following:
$ cat testing.txt
TESTING
AAA
BBB
CCC
DDD
EEE
FFF
GGG
HHH
ENDTESTING
This is the input file: (3 Replies)
Hello,
I'm trying to figure out how to use sed or awk to delete single lines in a file. By single, I mean lines that are not touching any other lines (just one line with white space above and below).
Example:
one
two
three
four
five
six
seven
eight
I want it to look like: (6 Replies)
Hi all,
I'm looking for a way (sed or awk) to delete multiple lines between blank lines containing two patterns ex:
user: alpha
parameter_1 = 15
parameter_2 = 1
parameter_3 = 0
user: alpha
parameter_1 = 15
parameter_2 = 1
parameter_3 = 0
user: alpha
parameter_1 = 16... (3 Replies)
Discussion started by: ce9888
3 Replies
LEARN ABOUT CENTOS
pccbb
PCCBB(4) BSD Kernel Interfaces Manual PCCBB(4)NAME
pccbb -- cardbus bridge driver
SYNOPSIS
device cbb
device pccard
device cardbus
device exca
DESCRIPTION
The pccbb driver implements the Yenta specification for CardBus bridges.
The following PCI cardbus and pcmcia bridges are supported:
Cirrus Logic PD6832
Cirrus Logic PD6833
Cirrus Logic PD6834
O2micro OZ6812
O2micro OZ6832
O2micro OZ6833
O2micro OZ6836
O2micro OZ6860
O2micro OZ6872
O2micro OZ6912
O2micro OZ6922
O2micro OZ6933
O2micro OZ6972
O2Micro OZ711E1
O2Micro OZ711M1
Ricoh RL4C475
Ricoh RL4C476
Ricoh RL4C477
Ricoh RL4C478
TI PCI-1031
TI PCI-1130
TI PCI-1131
TI PCI-1210
TI PCI-1211
TI PCI-1220
TI PCI-1221
TI PCI-1225
TI PCI-1250
TI PCI-1251
TI PCI-1251B
TI PCI-1260
TI PCI-1260B
TI PCI-1410
TI PCI-1420
TI PCI-1450
TI PCI-1451
TI PCI-1510
TI PCI-1515
TI PCI-1520
TI PCI-1530
TI PCI-1620
TI PCI-4410
TI PCI-4450
TI PCI-4451
TI PCI-4510
TI PCI-4520
TI PCI-[67]x[12]1
TI PCI-[67]x20
ENE CB710
ENE CB720
ENE CB1211
ENE CB1255
ENE CB1410
ENE CB1420
Toshiba ToPIC95
Toshiba ToPIC95B
Toshiba ToPIC97
Toshiba ToPIC100
TUNABLES
The driver supports the following tunable parameters, which may be added to /boot/loader.conf or set via the sysctl(8) command:
hw.cbb.debug Non-zero values cause more verbose information to be printed to aid in debugging problems with the bridge chipset.
SEE ALSO cardbus(4), pccard(4), exca(4)BSD July 21, 2004 BSD