summaryrefslogtreecommitdiff
path: root/unhyp
diff options
context:
space:
mode:
Diffstat (limited to 'unhyp')
-rwxr-xr-xunhyp4
1 files changed, 3 insertions, 1 deletions
diff --git a/unhyp b/unhyp
index 656d15f..5f9ae43 100755
--- a/unhyp
+++ b/unhyp
@@ -1,3 +1,5 @@
#!/bin/sh
-sed 's/\&shy\;//g'
+in=${1:-/dev/stdin}
+out=${2:-/dev/stdout}
+< $in sed 's/\&shy\;//g' > $out