diff options
author | Peter von Kaehne <refdoc@gmx.net> | 2018-06-08 13:36:39 +0000 |
---|---|---|
committer | Peter von Kaehne <refdoc@gmx.net> | 2018-06-08 13:36:39 +0000 |
commit | 103bfb262506aec0080e8e60d12ee2cce04b7e54 (patch) | |
tree | bbb13a2cf1c42b5e59457686feaff0bcc7399ba1 | |
parent | 2c9e49345a39258436eb28f74b0e28d170a0b74d (diff) | |
download | sword-tools-103bfb262506aec0080e8e60d12ee2cce04b7e54.tar.gz |
new small script to clean conf files from calculatable entries
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@528 07627401-56e2-0310-80f4-f8cd0041bdcd
-rwxr-xr-x | modules/conf/confclean.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/conf/confclean.sh b/modules/conf/confclean.sh new file mode 100755 index 0000000..886c1ca --- /dev/null +++ b/modules/conf/confclean.sh @@ -0,0 +1,23 @@ +#/bin/bash + +sed ' +/^\[/d +/^DataPath=/d +/^Scope=/d +/^ModDrv=/d +/^BlockType=/d +/^CompressType=/d +/^SourceType=/d +/^Encoding=/d +/^Versification=/d +/^GlobalOptionFilter=/d +/^Feature=/d +/^MinimumVersion=/d +/^SwordVersionDate=/d +/^Version=/d +/^History/d +/^InstallSize=/d +/^Lang=/d +/^LCSH/d + +' "$@"
\ No newline at end of file |