Shell Script to read CSV file | read command with here string in shell scripting | read command IFS

preview_player
Показать описание
Note : Its preferred to use bc for calculating the average instead of double parenthesis.
Hello guys , this video is about creating a shell script to read csv data from a file ( individual entries ) and to perform some operations using the csv data in shell scripting . Along with that , we looked at read command with here string that is required for our read csv shell script creation. We also discussed about role of IFS in read command and its importance with examples.
Topics covered in this video are :
- shell script to read csv file
- read command with here document in shell scripting
- read command and IFS in shell scripting
- perform operation using csv file data in shell scripting
- get individual entry from csv file in shell scripting
- step by step , shell script to read csv file data
#read #csv #file #operation #shell #scripting
__________________________________________________________
🌻 Support me with 🌻:

__________________________________________________________
👀 Connect with me on 👀 :

Рекомендации по теме
Комментарии
Автор

This is truly one of the best of the bash tutorials on youtube. Really appreciate it!

sa-mdsw
Автор

Excellent demo - particularly the combined use of IFS and read -d. The increment variable starting at (-1) was also clever.

srb
Автор

Brilliant Explanation. Thankyou. Eagerly waiting for your next videos.

rohithpokala
Автор

Very nice explanation. Thank you. Keep it up!

junkingjunking
Автор

How we can insert data into Excel sheet if we are using loop statement.

khushbugupta
Автор

excellent demo - sir plz explain in. hindi

srk
Автор

Hi can you please tell at 5:17 why you have mentioned $’/n’ we could hv written ‘/n’ only

sonalivarshney
Автор

Hi...in csv file if few names contains special character (For ex- O'Polly), how to handle this?? While running it is giving syntax error...

insert into table_name values ('$f1');

Getting error -
ERROR 1064 (42000)

I tried using "" and {} as well...

samiksha
Автор

How do we handle the comma if it is inside any column value??

omkar.engineer
Автор

Could you explain purpose of cmd cat <<-CLOSE

sujishshamsu
Автор

After parsing the data can we save the data in a separate file name ?

nviknesh
Автор

Any idea to convert csv to dsv ?? Thanks in advance

nviknesh
Автор

Hi sir, I need some help in converting a out file to csv. Can you help with your number or email anything.Appreciate it!

siddharthasingh