Coder Social home page Coder Social logo

ebashlib's Introduction

ebashlib

A script battery which gathers several generic helper scripts for other repositories.

Motivation

simple tools... done right!

Spent hours again debugging your code until you found that one script did not have the file ownership you expected? Does your bash logging output look cluttered and hard to read? Tired of writing complicated argument parsers every time you start a new bash script?

Simply type source <thisRepoFolder>/bashlib/bashlib.sh into your bash script so that you have access to:

  • logging functions:
    • for simple and large log files, or
    • for complex, pretty-printed reports
  • code maturity functions:
    • sanity file checks
    • unit tests
    • regression tests
  • linux/macOS bash compatibility functions
  • easy to use shell option parsing (via davvil/shellOptions as submodule)

Further Reading

Acknowledgements

Main Developer:

  • Daniel Stein

Additional code contributions from:

  • Gregor Leusch
  • Leonard Dahlmann

Feedback and legal support:

  • Brian Haslam

Submodule shellOptions by:

  • Davi(i)d Vilar

Testers

(alphabetically):

  • José de Souza
  • Sivan Elkis
  • Michael Kozielski
  • Shahram Khadivi
  • Prashant Mathur
  • Evgeny Matusov
  • Pavel Petrushkov

Inspiration

"Inspiration is when you forget where you took it from" -- source: uh... unknown? Me?

This code base could not have existed without all the developer forums out there. Help me, StackOverflow, you're our only hope. In particular, acknowledgement and thanks to Keith Smith:

See e.g., https://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac https://stackoverflow.com/a/1116890 Keith Smith, https://stackoverflow.com/users/12347/keith-smith

Notable inspiration from a mutual "there's-got-to-be-a-way-you-can-do-this-in-bash" peer, for Markdown to HTML conversion: Chad Braun-Duin, in his amazing markdown.bash project. Kudos!

Other than that, we tried hard to attribute properly in the code. If you feel that we missed a reference, please drop us a line.

License

Copyright 2018 eBay Inc. Main developer: Daniel Stein

Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.

ebashlib's People

Contributors

danstein80 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.