summaryrefslogtreecommitdiff
path: root/scripts/historic/2format
diff options
context:
space:
mode:
authorJoey Hess <joeyh@debian.org>2005-10-07 19:51:38 +0000
committerJoey Hess <joeyh@debian.org>2005-10-07 19:51:38 +0000
commit1ea73eea5ecc6a8ed901316049259aee737ee554 (patch)
tree03a077f0b1b1548f3c806bd1c5795964fba0fb52 /scripts/historic/2format
downloadinstallation-guide-1ea73eea5ecc6a8ed901316049259aee737ee554.zip
move manual to top-level directory, split out of debian-installer package
Diffstat (limited to 'scripts/historic/2format')
-rwxr-xr-xscripts/historic/2format19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/historic/2format b/scripts/historic/2format
new file mode 100755
index 000000000..2e3ca0d48
--- /dev/null
+++ b/scripts/historic/2format
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+tmp=`tempfile`
+
+while [ x"$1" != x ]; do
+ echo $1
+ cat $1 \
+ | tr -d '\t' \
+ | sed -f formatparasect \
+ | sed -f para1 \
+ | sed '/<\/para>/{:a;N;/<para>/!ba;s/<\/para>\n*<para>/<\/para><para>/;}' \
+ | cat -s > $tmp
+ cp $tmp $1
+ shift;
+done
+
+rm -f $tmp
+
+# | sed -f fix \ \ No newline at end of file