10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wrote one shell script to check the record count in two files and that will send us the notification activity if found zero record count.
What i did is I created for loop and checking the count for both of the files but what is happening is for first file has data then it's... (13 Replies)
Discussion started by: victory
2. UNIX for Dummies Questions & Answers
I am trying to join 3rd column of 3 files into the end on one file and save it separately... my data looks like this
Bob, Green, 80
Mark, Brown, 70
Tina, Smith, 60
Bob, Green, 70
Mark, Brown, 60
Tina, Smith, 50
Bob, Green, 50
Tina,... (6 Replies)
Discussion started by: A-V
3. Shell Programming and Scripting
I have monthly one-column files of roughly around 10 years. Is there a more efficient way to concatenate these files column-wise other than using paste command? For instance:
21 (8 Replies)
Discussion started by: ida1215
4. Shell Programming and Scripting
Hi! I need to learn that how a shell script can transverse a csv file n check if any field is empty or not. means its contains two comma or space b/w commas i.e., "" or " ".
can anyone help me out how I can do that.... (10 Replies)
Discussion started by: sukhdip
5. Shell Programming and Scripting
I have nine files looking similar to file1 & file2 below.
1 ACTL7 (4 Replies)
Discussion started by: seqbiologist
6. Shell Programming and Scripting
I am trying to execute the following command to check the existance of a file (which has a date timestamp on it). If there are more than one file, then also it should give me 'success' result.
<do some work>
Since there are more than one... (18 Replies)
Discussion started by: vivek_damodaran
7. UNIX for Dummies Questions & Answers
I am a forum (and a bit of a unix) newbie, and I currently have a tricky problem lying ahead of me. I have multiple files, and I am looking to join the files on the first column.
andy b 100
amy c 200
amy d 300
andy c 200
amy c 100
clyde o 50
... (3 Replies)
Discussion started by: jdr0317
8. Shell Programming and Scripting
Hello, I know how to join multiple files using the cat function. I want to do something a little more advanced. Basically I want to put the filename in the first column...
One thing to note is that the file is tab delimited.
joe 1 4 5 6 7 3
manny 2 3 4 5 6 7
... (4 Replies)
Discussion started by: phil_heath
9. UNIX for Dummies Questions & Answers
I need a script (perl or awk..anything is fine) to join 3 files based on three key columns. The no of non-key columns can vary in each file. The columns are delimited by semicolon.
---- data delimited by semicolon ---
... (1 Reply)
Discussion started by: Sebben
10. UNIX for Advanced & Expert Users
I need a little help as I am a complete novice at scripting in unix. However, i am posed with an issue... i have two csv files in the following format@
, , HEADER
, ,... (3 Replies)
Discussion started by: chachabronson