I have a list of filename is a file called list.dat.
The filenames appear in the list.dat file as this:
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)
I have about 30 small datafiles .
when I issue gzip *.dat , I end up with the following
My goal is to gzip all 30 files into one single file (ex:data1-30.gz) as we do on... (4 Replies)
I have a datafile that have unknown a number of CHARACTERS.
if the datafile have more than 1 character and less than 20
email me the file
if the datafile have more than 20 characters
split the datafile into 20 characters in each file
email... (4 Replies)
I am on HP-UX and I am trying to come up with a method to call in a list of files named like so.
filename020107.dat filename020207.dat filename020307.dat
Obviously I can list them ls them like so, ls filename*.dat. In case you did not notice the number is a date and I was hoping to match... (4 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:
I have... (6 Replies)
I have lines like below in a file
I will need
Thanks (6 Replies)
One of my script generate following files. These files has static TIMESTAMP 20080227.
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:
I have another file (extract.dat) that contains some data:
I want to compare the... (5 Replies)
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.
... (10 Replies)
Hi, I have a question that I cannot solve.
if I have a file like this (lets say "x-values.dat"):
another file like this (lets say "y-values.dat"):
and another file like this (lets say "p-values.dat"):
How can I get this output?
x1 y1 p1
x1 y2... (16 Replies)
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)
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
default directory directoryname... (5 Replies)
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)
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)