On Mon, 11 Apr 2011 21:32:02 -0700, Daniel Pittman <dan...@puppetlabs.com> wrote: > *nod* My current thinking is that the right header looks roughly like: > > #!/usr/bin/env rspec > # ...and why couldn't they be consistent about where env lives? > require 'spec_helper' > > That should satisfy the direct executability desire, as well as > consistency in including spec_helper. If that sounds good I might try > to get that done, or at least to convince someone to do it for me, in > the near future. :)
perl -i is your friend. As I noted recently in a different discussion: a few hours refactoring can save you a couple of minutes of regex writing[1]. Best Regards, David [1] adapted from "a few weeks in the lab can save you a few hours in the library" -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.