J S
3eb4b2d5d8
I added a documentation readme. I added a license (GPLv3) SPLIT-LINE now deletes SETTING from the hash-table if it is passed "SETTING=nil". READ-SYSTEM now explicitly uses string= to identify sections in the associative list.
20 lines
881 B
Common Lisp
20 lines
881 B
Common Lisp
;; systemd-parse: A library for extracting and writing data to and from systemd .service files.
|
|
;; Copyright (C) 2023 Judah Sotomayor
|
|
|
|
;; 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 <http://www.gnu.org/licenses/>.
|
|
|
|
(defpackage :systemd-parse
|
|
(:use :common-lisp)
|
|
(:export :read-service :write-service :split-line))
|