Sha256: 3e7c8629961cbc0b0fb3066ec1dc4f983cc1c2459a28552fddaa4ae6b4b69fcb

Contents?: true

Size: 221 Bytes

Versions: 5

Compression:

Stored size: 221 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

5 entries across 5 versions & 2 rubygems

Version Path
wishdev-rio-0.4.3.1 ex/passwd_report.rb
rio-0.3.9 ex/passwd_report.rb
rio-0.4.0 ex/passwd_report.rb
rio-0.4.1 ex/passwd_report.rb
rio-0.4.2 ex/passwd_report.rb