Giter Club home page Giter Club logo

stupidbashtard's Introduction

Welcome to Stupid BashTard (SBT).


-- Stupid BashTard
SBT is a framework comprised of shell scripts full of functions.  In short, I got tired of rewriting, and watching others rewrite, the same exact types of functionality over and over again.  The goal of SBT is to create an open-source library of functions usable in Bash shell scripting (and possibly others eventually).

-- Singular Principle
SBT adheres to one rule above all others: if it isn't simple, repeatable, and easy to use, it's written wrong.  Bash is dangerously simple.  By following simple standards and regression testing, SBT should always remain useful, not cumbersome.  When we stick to its built-ins, Bash can operate very quickly too.  Operations which Bash stinks at should be passed to backend tools via function wrappers.

-- Shocker
A static analysis tool is used to read functions and put information about them into YAML files.  Ultimately, these could be useful as description pop-ups in an IDE.

-- Support
I am not God's gift to scripting.  I fully expect, and hope, others will provide support and feedback to make SBT as optimized as possible.  Ultimately leading to the most effective, performant, and portable Bash library around, all based on open-source tools.

-- Dependencies
SBT requires a few basic tools (rm, cp, ...) which are generally provided by util-linux or similar.  It also leans heavily on GNU coreutils and GNU grep (your grep must support -P).  Finally, some functions use awk (any modern flavor) and perl (5+).

MORE INFO
More details about SBT and Shocker are available in the SBT namespace 'doc_examples.sh'.

There is also a FAQ sheet which can answer a lot of questions.

stupidbashtard's People

Contributors

kylejharper avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.