shibby - query shebang status
EXAMPLES
$ shibby examples/hello.rb
{:shebang=>"#!/usr/bin/env ruby", :executable=>true}
$ shibby examples/hello.py
{:shebang=>"#!/usr/bin/env python", :executable=>true}
$ shibby examples/hello3.py
{:shebang=>"#!/usr/bin/env python3", :executable=>true}
$ shibby examples/hello.pl
{:shebang=>"#!/usr/bin/perl", :executable=>true}
$ shibby examples/hello
{:shebang=>"#!/bin/sh", :executable=>true}
$ shibby examples/hello.js
{:shebang=>"#!/usr/bin/env node", :executable=>false}
$ shibby examples/hello.R
{:shebang=>nil, :executable=>true}
HOMEPAGE
https://github.com/mcandre/shibby
RUBYGEMS
https://rubygems.org/gems/shibby
ABOUT
shibby is a small, cross-platform command line tool for reporting information about file shebangs and executable permissions.
REQUIREMENTS
- Ruby 2.0+
INSTALL
Install via RubyGems:
$ gem install shibby
LICENSE
FreeBSD
DEVELOPMENT
Testing
Keep the code functioning:
$ rake test
Linting
Keep the code tidy:
$ rake lint
Git Hooks
See hooks/
.