Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/e-picas/bash-library
An open source day-to-day bash library
https://github.com/e-picas/bash-library
Last synced: about 1 month ago
JSON representation
An open source day-to-day bash library
- Host: GitHub
- URL: https://github.com/e-picas/bash-library
- Owner: e-picas
- License: gpl-3.0
- Created: 2013-10-27T17:31:27.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-15T14:54:00.000Z (over 9 years ago)
- Last Synced: 2024-07-30T05:36:57.395Z (about 2 months ago)
- Language: Shell
- Homepage:
- Size: 1.31 MB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Piwi-Bash-Library
=================An open source day-to-day bash library.
[![Build Status](https://travis-ci.org/piwi/bash-library.svg?branch=dev)](https://travis-ci.org/piwi/bash-library)
Key features:
- manage strings, files, integers and arrays easily
- build colorized contents with text effect, foreground and background colors
- execute sub-jobs with a large control upon outputs, errors and status
- build some scripts with command line options and arguments easily
- the library is well-documented and unit-testedTo begin, have a look at [the wiki](http://github.com/piwi/bash-library/wiki).
Installation
------------Installing the *Piwi Bash Library* is as simple as making a copy of two files in your target
directory: the **library source itself** and **its Unix manual page**.You can install the package in many ways explained in the [Global documentation](http://github.com/piwi/bash-library/wiki) ;
the best practice is to use **the internal interface** as it presents facilities to update the library.wget --no-check-certificate https://github.com/piwi/bash-library/archive/master.tar.gz
tar -xvf master.tar.gz
cd piwi-bash-library-master
./bin/piwi-bash-library helpTo read the library's manpage, run:
man man/piwi-bash-library.man
Usage
-----To use the library in a bash script, just `source` it at the top of your code or before any
call of its methods or variables:#!/bin/bash
source path/to/piwi-bash-library.bash
...The full documentation of the library is available online at .
Demonstrations
--------------A set of test and demonstration files is included in the `samples/` directory of the package.
These files are not required for a normal usage of the library.To run one of these tests, just run:
cd path/to/downloaded/package/piwi-bash-library
./samples/file-test.shYou can use the `--help` option to get help or info:
./samples/file-test.sh --help
Author & License
----------------- For sources & updates, see
- For documentation, see
- To transmit bugs, see
- To read GPL-3.0 license conditions, seePiwi Bash Library - An open source day-to-day bash library
Copyleft (ↄ) 2013-2015 Pierre Cassat & contributors
- Some rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .