formatting
This commit is contained in:
parent
966b96b294
commit
672a99566d
|
@ -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
|
||||
|
|
4
bes.ini
4
bes.ini
|
@ -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"
|
||||
|
|
13
src/ini.sh
13
src/ini.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user