#! /usr/bin/env ruby $SOURCE = "" # Where are the Shake scripts? $FILE_LIST = %x| ls #{$SOURCE}*.shk |.split("\n") $FILE_LIST.each do |f| filein_nodes = File.open(f).grep(/SFileIn/) puts " --------- #{f} ------------" filein_nodes.map! { |n| n.split(/SFileIn/).last } filein_nodes.each { |n| puts n } puts "\n\n" end
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Ruby: Apple Shake - Report FileIn Nodes (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Ruby: Submit Apple Shake Scr... in ruby apple script render shake
» Ruby: Apple Aperture API in ruby apple activerecord sqlite api aperture module
» Aperture Duplicate Finder | ... in ruby apple aperture
» Typo under lighttpd in lighttpd ruby rails typo ruby-fcgi
» password hash script in ruby password
» Stable sort in ruby sort
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails