Hi All,
I have two comma separated value(CSV) files, say FileA and FileB.
The contents looks like that shown below.
FileA
EmpNo,Name,Age,Sex,
1000,ABC,23,M,
1001,DES,24,F, ... (2 Replies)
Hi,
Does anyone know if its possible to add something like an end of line like c or java in unix?
dirs=/home/nosnam
var=''
for dir in $dirs
do
listDirs=`ls -d1 $dir/*`
for eachList in $listDirs
do
listRepos=`du -ks $eachList | awk '{ x+=$1 }; END { print x... (4 Replies)
Hi i would like to add line numbers to end of each line in a file.
I am able to do it in the front of each line using sed, but not able to add at the end of the file.
Can anyone suggest
The following code adds line number to start of each line
sed = filename | sed 'N;s/\n/\t/'
how can i... (5 Replies)
Hi Folks,
Using the Vi, how can I add a numbers at the end of the line.
For eg: I have the numbers in the file as:
58.125.33
22.58.68
25.144.225
114.25.38
I need to add .0/8 at the end of all the line. So, it should be like
58.125.33.0/8
22.58.68.0/8
25.144.225.0/8
114.25.38.0/8 (6 Replies)
hi,
i have file which is having large sql query
eg :
i am executing this sql file but now i want to add ; after query on same line
i.e. i should look like
any idea how to achieve it ? (6 Replies)
I have a file with varying record length in it. I need to reformat this file so that each line will have a length of 100 characters (99 characters + the line feed).
AU * A01 EXPENSE 6990370000 CWF SUBC TRAVEL & MISC
MY * A02 RESALE 6990788000 Y... (3 Replies)
How to add a comma at the end of each line in this file?30 1412
30 3352
30 5254
30 5543
30 7478
3 28
3 30
3 39
3 54
3 108
3 152
3 178
3 182
3 214
3 271
3 286
3 300
3 348
3 349
3 371 (3 Replies)
Hai,
I have got a small requirement in my script. and i am using bash shell. I need to add a dot (.) for some particular line in a file. Say for example,
$Cat rmfile
1 This is line1
2 This is line2
3 This is line3
O/p should be :
$Cat rmfile
1 This is line1
2 This is line2. #... (2 Replies)
My file (the output of an experiment) starts off looking like this,
_____________________________________________________________
Subjects incorporated to date: 001
Data file started on machine PKSHS260-05CP
**********************************************************************
Subject 1,... (9 Replies)
Discussion started by: samonl
9 Replies
LEARN ABOUT MINIX
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