From 6f89fb66315647b6421e44abe5a49789efc9dbdc Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sun, 14 Aug 2016 23:21:01 -0700 Subject: [PATCH] add readme --- README | 8 ++++++++ cedit | 7 ++++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..279bfe3 --- /dev/null +++ b/README @@ -0,0 +1,8 @@ +The main documentation is availiable via --help and near the top of the +bash script file next to this file. + +The script file can be stripped of the last line and used as a function +instead of a script. + +Please email me if you have a patches, bugs, feedback, or republish this +somewhere else: Ian Kelling . diff --git a/cedit b/cedit index d04f587..7fbf743 100755 --- a/cedit +++ b/cedit @@ -15,10 +15,11 @@ cedit() { local help="Usage: [-h|--help ] [-v] [SECTION_NAME] FILE -Create/edit a #comment delimited section of a file +Create/modify a section in a config file -Reads STDIN for the contents of the section. Without SECTION_NAME, it -acts on a global unnamed section. cedit is short for config edit. +The section is #comment delimited. Reads STDIN for the contents of the +section. Without SECTION_NAME, it acts on a global unnamed +section. cedit is short for config edit. -v Verbose -h|--help Help" -- 2.30.2