Skip to content

Instantly share code, notes, and snippets.

@kdwinter
Created April 1, 2009 14:14
Show Gist options
  • Save kdwinter/88700 to your computer and use it in GitHub Desktop.
Save kdwinter/88700 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby19
@paclist = `pacman -Qqe | grep -v "$(pacman -Qmp)"`
@listfile = ENV['HOME'] + '/abs/paclist.txt'
File.open(@listfile, 'w+') do |f|
f.puts f.atime
f.puts
f.puts @paclist
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment