aboutsummaryrefslogtreecommitdiff
path: root/bin/unf.sed
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-03 02:02:16 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-03 02:02:16 +1300
commita03e011345413a9b3749deb9da895bb4e8ec9974 (patch)
tree98a96bbddff100bd896af48c9fa2215d5e0ee742 /bin/unf.sed
parentRemove setterm(1) call (diff)
downloaddotfiles-a03e011345413a9b3749deb9da895bb4e8ec9974.tar.gz
dotfiles-a03e011345413a9b3749deb9da895bb4e8ec9974.zip
Rewrite unf(1df) in awk
Also update manual page references to it, and improve it by making it ignore body content
Diffstat (limited to 'bin/unf.sed')
-rw-r--r--bin/unf.sed17
1 files changed, 0 insertions, 17 deletions
diff --git a/bin/unf.sed b/bin/unf.sed
deleted file mode 100644
index 23270fc6..00000000
--- a/bin/unf.sed
+++ /dev/null
@@ -1,17 +0,0 @@
-# Unfold lines with leading spaces (e.g. RFC 822 headers)
-/^[ \t]/!{
- 1!{
- x
- p
- x
- }
- h
-}
-/^[ \t]/{
- H
- x
- s/[\r\n]//g
- x
-}
-$!d
-x