10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
just wanted to export multiple tables from oracle sql using unix shell script to csv file and the below code is exporting only the first table.
Can you please suggest why? or any better idea?
Export= `sqlplus -s dev01/password@dEV3... (5 Replies)
Discussion started by: Hope
2. UNIX for Beginners Questions & Answers
I'm trying to write a simple file sanity check script. I have a directory with dozen CSV files containing id,edname,firstname,lastname,suffix,email.
I like to write a awk script to check if first field contain a number and is not empty. and fields number 3,4 & 6 are not empty and... (3 Replies)
Discussion started by: dc34684
3. Shell Programming and Scripting
I need help for doing the following.
I have a input file like:
now I am trying to generate a output csv file where i will have for e.g.
0-3 chars of each line as the first column in the csv, 4-10 chars of the line as... (3 Replies)
Discussion started by: babom
4. UNIX Desktop Questions & Answers
I'm sure there's a way to do this, but I ran out of caffeine/talent before getting the answer in a long winded alternate way (don't ask ;) )
The task I was trying to do was scan a directory of files and show only files that contained 3 values:
I tried many variations... (4 Replies)
Discussion started by: callumw
5. Shell Programming and Scripting
I am regular reader of this forum. My advanced thanks to everyone.
Below given are the sample files
INDATA (Main data)
N records (140000) eg
GRPDATA (Reference file) (2 Replies)
Discussion started by: hyperion.krish
6. Shell Programming and Scripting
I have mutiple csv files at server1 at /apps/test/data.
I needed a script that would copy these csv files from server1 at /usr/data, put them in server2,archive the earlier files that were present in server2 before removing those already present.
Kindly help. (2 Replies)
Discussion started by: Alok Ranjan
7. Shell Programming and Scripting
I am new to this forum and this is my first post.
I am looking at an old post with exactly the same name. Can not paste URL because I do not have 5 posts
My requirement is exactly opposite.
I want to get rid of duplicate rows and try to append the values of columns in those rows
... (10 Replies)
Discussion started by: vbhonde11
8. Shell Programming and Scripting
Having a problem with reading two files using awk/nawk, am new to both them.
I need to compare field values between two csv files and arrange for an appropriate output if both the values are equal or not for each feild.
$cat File1.csv... (4 Replies)
Discussion started by: pgop
9. Shell Programming and Scripting
I want to duplicate a row if found two or more values in a particular column for corresponding row which is delimitted by comma.
abc,line two, value1, value2
needs to converted to
abc,line two, value1
abc,line... (8 Replies)
Discussion started by: Incrediblian
10. Shell Programming and Scripting
Am new to scripting. So i just need your ideas to help me out. Here goes my requirement.
I have two csv files
I need to compare the first column of 1.csv with 2.csv and if matches then need to compare... (2 Replies)
Discussion started by: chinnahyd