Hello,
I have a list of filename is a file called list.dat.
The filenames appear in the list.dat file as this:
./set.class
./one.class
I want to delete these file names from the list file using sed. To test I was trying to match just the set.class. Eventually I want to delete all... (5 Replies)
Hi guys, my supervisor has asked me to solve the problem in 7 days, I've taken 3 days to think about it but couldn't figure out any idea.
Please give me some thoughts with the following problem,
I have index.database that has only index date:
1994
1995
1996
1997
1998
1999
I have... (6 Replies)
Hi All,
I have lines like below in a file
A /u/ab/test1.dat
A/u/ab/test2.dat
A /u/bb/test3.dat
A/u/cc/test4.dat
I will need
/u/ab/test1.dat
/u/ab/test2.dat
/u/bb/test3.dat
/u/cc/test4.dat
Pls help
Thanks (6 Replies)
Hi All
One of my script generate following files. These files has static TIMESTAMP 20080227.
AccAdd_20080227_1000.dat
AccBal_20080227_1000.dat
Acc_20080227_1000.dat
AccGrpMem_20080227_1000.dat
AccToCust_20080227_1000.dat
What i need to do is, once the file has been generated, it... (7 Replies)
I have a file (key.dat) that contains two columns:
AA|1234|
BB|567|
CC|8910|
I have another file (extract.dat) that contains some data:
SD|458|John|Smith|
AA|3345|Frank|Williams|
AA|1234|Bill|Garner|
BD|0098|Yu|Lin|
BB|567|Gail|Hansen|
CC|8910|Ken|Nielsen|
I want to compare the... (5 Replies)
Hi everybody,
I have a problem while using oracle sqlldr in unix.
I get a .dat file through SFTP and placed at some location.I need to write a shell script to pick the .dat file dynamically what ever the full name so that i can refer this .dat file in my sqlldr control file.
eg:
... (10 Replies)
Hi, I have a question that I cannot solve.
if I have a file like this (lets say "x-values.dat"):
x1
x2
x3
another file like this (lets say "y-values.dat"):
y1
y2
y3
y4
and another file like this (lets say "p-values.dat"):
p1
p2
p3
...
p12
How can I get this output?
x1 y1 p1
x1 y2... (16 Replies)
Hi,
I have some hundreds/thousands of files named logX.dat, where X can be any integer, and they are sequential, X ranges between 1 and any number:
log1.dat log2.dat log3.dat log6.dat log10.dat ... log6000.dat
I would like to rename them to
scatter_params_0001.dat... (6 Replies)
Hello,
I have a dat file nctilllist.dat which will be present in the directory path
"/usr/lpp/web-data/mfg/nct/file-data/nctilllist.dat"
nctillist.dat will have reference to files like DP100001.jpg,DP10002.PDF,DP100003.doc
on the path /usr/lpp/web-data/mfg/nct/file-data will have... (12 Replies)
Hi friends I have a question,
Assume that I have 3 files' named as file356.dat, file358.dat, file1521.dat
how can I rename them as file-356, file-358, file-1521
Thanks (12 Replies)
I have a datafile containing data in the following format
name1,employee_number1,cell1,home1,fax1
name2,employee_number2,cell2,home2,fax2
name3,employee_number3,cell3,home3,fax3
name4,employee_number4,cell4,home4,fax4
name5,employee_number5,cell5,home5,fax5
...
...
....
I would like... (6 Replies)
Hi,
Can you please tell me the Unix shell script for removing footer from the datafile while loading into external table using sqlloader
we will be skipping the header like this while creating the table
organization external
(
type oracle_loader
default directory directoryname... (5 Replies)
Hi Everyone,
I have a question:
I have a lot of file named like
or10000.dat, or9100.dat, or100.dat, or3100.dat...
I want to deal with these files according to the
number in the name. So I want to deal with or100.dat
first and then or3100.dat and so on.
I used :
for i in `ls or*.dat |... (11 Replies)
Hi All,
This question has been asked many times, but my problem is slightly different.
In my shell script i am connecting to oracle database and loading the results to .dat file. This .dat file is later used to create to .xls file Some times the size of .dat file becomes more than 120000... (8 Replies)
Dear all,
I have a csv file which is transformed to .dat. I have an awk file which is supposing to do the mapping of the dat file. the code from the awk file is the one below.
The content of the dat file is looking like this (tab separated):
ODT AGE CDT CO SEX TIME ... (9 Replies)