<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Leggere_un_file_CSV_in_bash</id>
	<title>Leggere un file CSV in bash - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Leggere_un_file_CSV_in_bash"/>
	<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Leggere_un_file_CSV_in_bash&amp;action=history"/>
	<updated>2026-05-06T07:39:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Leggere_un_file_CSV_in_bash&amp;diff=10357&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: Created page with &quot;Ecco un esempio:  &lt;pre&gt; #!/bin/bash # Purpose: Read Comma Separated CSV File # Author: Vivek Gite under GPL v2.0+ # ------------------------------------------ INPUT=data.cvs O...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Leggere_un_file_CSV_in_bash&amp;diff=10357&amp;oldid=prev"/>
		<updated>2020-03-03T15:09:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Ecco un esempio:  &amp;lt;pre&amp;gt; #!/bin/bash # Purpose: Read Comma Separated CSV File # Author: Vivek Gite under GPL v2.0+ # ------------------------------------------ INPUT=data.cvs O...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ecco un esempio:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# Purpose: Read Comma Separated CSV File&lt;br /&gt;
# Author: Vivek Gite under GPL v2.0+&lt;br /&gt;
# ------------------------------------------&lt;br /&gt;
INPUT=data.cvs&lt;br /&gt;
OLDIFS=$IFS&lt;br /&gt;
IFS=&amp;#039;,&amp;#039;&lt;br /&gt;
[ ! -f $INPUT ] &amp;amp;&amp;amp; { echo &amp;quot;$INPUT file not found&amp;quot;; exit 99; }&lt;br /&gt;
while read flname dob ssn tel status&lt;br /&gt;
do&lt;br /&gt;
	echo &amp;quot;Name : $flname&amp;quot;&lt;br /&gt;
	echo &amp;quot;DOB : $dob&amp;quot;&lt;br /&gt;
	echo &amp;quot;SSN : $ssn&amp;quot;&lt;br /&gt;
	echo &amp;quot;Telephone : $tel&amp;quot;&lt;br /&gt;
	echo &amp;quot;Status : $status&amp;quot;&lt;br /&gt;
done &amp;lt; $INPUT&lt;br /&gt;
IFS=$OLDIFS&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Riferimenti=&lt;br /&gt;
*[https://www.cyberciti.biz/faq/unix-linux-bash-read-comma-separated-cvsfile/ Bash Read Comma Separated CSV File on Linux / Unix - nixCraft]&lt;/div&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
</feed>