Created
January 8, 2015 21:41
-
-
Save EvanHahn/2b48b9c828af2c92fef9 to your computer and use it in GitHub Desktop.
A Ruby script to remove versions from the output of `apm list --installed --bare`.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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