formatting

This commit is contained in:
a-sansara 2017-07-06 22:55:32 +02:00
parent 966b96b294
commit 672a99566d
3 changed files with 13 additions and 5 deletions

View File

@ -2,3 +2,4 @@ bes-ini
========
bes-ini is a small ini parser fork from https://github.com/rudimeier/bash_ini_parser
repackaged for bes

View File

@ -1,9 +1,9 @@
[project]
vendor = bes
name = ini
version = 1.0
version = 1.1
license = "GNU GPL v3"
author = a-Sansara
author = Kevin Porter, Ruediger Meier
type = library
homepage = "https://git.pluie.org/meta-tech/bes-ini"
description = "bash bes ini parser"

View File

@ -1,7 +1,15 @@
#!/bin/bash
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# @author a-Sansara - https://git.pluie.org/meta-tech/bes-echo
# @app bes-ini
# @license GNU GPL v3
# @date 2017-05-19 22:52:59 CET
#
# bes alter '__' to '_' , rename read_ini to bes.ini
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# > https://github.com/rudimeier/bash_ini_parser
#
# Copyright (c) 2009 Kevin Porter / Advanced Web Construction Ltd
@ -15,7 +23,7 @@
#
# See README for usage.
#
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function bes.ini ()
{
# Be strict with the prefix, since it's going to be run through eval
@ -282,5 +290,4 @@ function bes.ini ()
cleanup_bash
}
# < https://github.com/rudimeier/bash_ini_parser