[gimp-web-devel/pat/bootstrap] Adding tidy.sh



commit 21a57159bf32f5520914eb7a2c7911aa9158eb06
Author: Robin Swift <robinswiftart gmail com>
Date:   Fri Sep 23 12:20:23 2022 +0000

    Adding tidy.sh

 scripts/tidy.sh | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/scripts/tidy.sh b/scripts/tidy.sh
new file mode 100755
index 0000000..3f8bf60
--- /dev/null
+++ b/scripts/tidy.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+#
+# call as
+# $ bash scripts/tidy.sh
+
+for file in `find content -name *.md`
+do
+sed -i "s/ *$//" $file
+done


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]