Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

URGENT: Read CSV file and altert details via email (UNIX SHELL SCRIPT)

Avatar of Dushan De Silva
Dushan De SilvaFlag for Australia asked on
Unix OSLinuxShell Scripting
17 Comments1 Solution947 ViewsLast Modified:
Hi Experts,
I'm having following csv file format and I want to read that file and should send email alters according to following criteria,
------------------csv file------------------
first line of this csv file contains titles of columns.
If there is any count difference between last two columns(IBM and product) then email altert should send to dushan_desilva@yahoo.com
mentioning that particular row with details.

Also error handling(while reading csv file and sending emails) should write to a log file.

BR Dushan.