Sha256: 273db46cc91486cc8f5eef2840abb20b9eef0e5792da61a31e2575b4e900789e
Contents?: true
Size: 322 Bytes
Versions: 41
Compression:
Stored size: 322 Bytes
Contents
#!/usr/bin/env ruby require 'soywiki' # this emulates ls -t in unix, but searches subdirs and returns a flat list of # files xs = Dir.glob('*/*'). select {|x| File.file?(x) && x.gsub('/', '.') =~ Soywiki::WIKI_WORD }. sort_by {|x| File.stat(x).mtime }. reverse.map {|x| x.to_page_title } puts xs.join("\n")
Version data entries
41 entries across 41 versions & 1 rubygems