Re:Backing up your Twitter account with the t ruby gem
by nicholassmith on Monday May 07, 2012 @07:13PM
(#3941377)
Interesting that he writes a shell script to interface with a Ruby gem, rather than a Ruby script.
[ Parent
| on HN ]
Re:Backing up your Twitter account with the t ruby gem
by sferik on Wednesday May 09, 2012 @11:43AM
(#3949065)
T happens to be written in Ruby but it's a CLI, not a Ruby library. The fact that it is packaged as a gem is incidental. T was designed to be called from a command line shell and to interoperate with other Unix utilities like grep, cut, awk, bc, wc, xargs, etc. All output is streamed to stdout, so it actually makes just as much sense to call t from a shell script (or, for that matter, from a Perl or Python script) as it does from Ruby.