aboutsummaryrefslogtreecommitdiff
path: root/contrib/csv-parser.rb
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2025-04-13 22:43:46 +0200
committerThomas Schmucker <ts@its1.de>2025-04-13 22:43:46 +0200
commit7d956c533e9fd7d3bbb9a4a8b7f89f0fe54d4bc3 (patch)
treeea1c5bc19dfe6bacad2d377378c460ee5284e74e /contrib/csv-parser.rb
parent85fe3b67a67825dfc5e43959f001b2a7159dc23f (diff)
downloadlibcsv-7d956c533e9fd7d3bbb9a4a8b7f89f0fe54d4bc3.tar.gz
libcsv-7d956c533e9fd7d3bbb9a4a8b7f89f0fe54d4bc3.tar.bz2
libcsv-7d956c533e9fd7d3bbb9a4a8b7f89f0fe54d4bc3.zip
first draft
Diffstat (limited to 'contrib/csv-parser.rb')
-rwxr-xr-xcontrib/csv-parser.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/csv-parser.rb b/contrib/csv-parser.rb
new file mode 100755
index 0000000..aaac877
--- /dev/null
+++ b/contrib/csv-parser.rb
@@ -0,0 +1,10 @@
1#! /usr/local/bin/ruby
2
3require 'csv'
4
5startTime = Time.now
6CSV.read(ARGV[0])
7endTime = Time.now
8
9print(endTime-startTime)
10puts "\n"