
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Hopcsv
A pure-C CSV parser.
== Installation
gem install hopcsv
== Usage
require 'rubygems' require 'hopcsv'
Hopcsv.foreach("data.csv") do |line| # Do something with the line array end
Hopcsv.foreach("/etc/passwd",":") do |line| puts line[0] end
== Advanced usage
Get users from passwd file, with UIDs between 1000 and 1010 and between 2000 and 2010. Works with numbers only! Third argument is column index, then one or more intervals.
Hopcsv.foreach("/etc/passwd",":",2,[1000..1010],[2000..2010]) do |line| puts line[0] end
== Contacts
Forks, pull-requests and other contacts via guthub: https://github.com/zhum/hopcsv
== License
Copyright 2012 Sergey Zhumatiy
Copyright 2007-2012 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.
FAQs
Unknown package
We found that hopcsv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.