From 103bfb262506aec0080e8e60d12ee2cce04b7e54 Mon Sep 17 00:00:00 2001 From: Peter von Kaehne Date: Fri, 8 Jun 2018 13:36:39 +0000 Subject: 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 --- modules/conf/confclean.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 modules/conf/confclean.sh 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 -- cgit