On Fri, Nov 18, 2011 at 3:58 PM, Dave Baldwin <dave.baldwin / 3dlabs.com> wrote: > > On 18 Nov 2011, at 13:29, Rahul Kumar wrote: > >> (Sorry, this is not exactly a ruby question). >> >> Today some ruby command-line apps are using YAML to store data. The >> advantage of using sqlite or say a delimited file was that outside one's >> application one could query the data using sql, or awk/grep/sed/cut for >> delimited files. >> >> With yaml, are there any generic tools to query data ? > > It is just a text file so any of your suggestions (awk/grep/sed/cut) will work. Why not just read the file in an IRB session and traverse the object graph? Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/