Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A Ruby script to remove versions from the output of `apm list --installed --bare`.
#!/usr/bin/env ruby
IO.foreach(ARGV.first) do |line|
puts line.split('@').first
end
# Licensed under the Unlicense. <http://unlicense.org/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.