Skip to content

Instantly share code, notes, and snippets.

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
# Licensed under the Unlicense. <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment