1 2 3 4 5 6 7 8
#!/usr/bin/env ruby # Usage: uid-map load "#{File.dirname(__FILE__)}/common.rb" load_all_users.each do |uid,user| puts "#{uid}:#{user["username"]}" end