juretta.com

nl -- line numbering filter

February 21, 2007
Tags: Attachr Dropbox
macbook-sts:~ stefan$ nl `which attachr`
     1  #!/usr/bin/env ruby
     2  #
     3  # This file was generated by RubyGems.
     4  #
     5  # The application 'attachr' is installed as part of a gem, and
     6  # this file is here to facilitate running it. 
     7  #
      
     8  require 'rubygems'
     9  version = "> 0"
    10  if ARGV.size > 0 && ARGV[0][0]==95 && ARGV[0][-1]==95
    11    if Gem::Version.correct?(ARGV[0][1..-2])
    12      version = ARGV[0][1..-2] 
    13      ARGV.shift
    14    end
    15  end
    16  require_gem 'attachr', version
    17  load 'attachr'

About

This is the defunct blog of Stefan Saasen.