Sha256: 466058fb0baa060486bf1f0f0d5406b553c398a2da34fc5a941f2aef09f8367b

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

#!/usr/local/bin/ruby
require 'rio'

# Create a tab separated file of accounts in a UNIX passwd file,
# listing only the username, uid, and realname fields

rio('/etc/passwd').csv(':').columns(0,2,4) > rio(?-).csv("\t")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rio-0.3.4 ex/passwd_report.rb
rio-0.3.7 ex/passwd_report.rb