summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-04-20 22:54:02 +0200
committertv <tv@nomic.retiolum>2014-04-20 22:54:02 +0200
commitdd5d0af9e64e343e68d5b3fc766767f5ebfa9a89 (patch)
tree8988d3f4d452781ec451feaf5c0a28ff2e42f06c
parent74ac7de3f0ada98d591f4b67e21ec0eeedb638fa (diff)
retiolum/bin/hosts: osx doesn't know \t
-rwxr-xr-xretiolum/bin/hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/bin/hosts b/retiolum/bin/hosts
index 4426a811..44dbd88d 100755
--- a/retiolum/bin/hosts
+++ b/retiolum/bin/hosts
@@ -7,7 +7,7 @@ cd /etc/tinc/$netname/hosts
for i in `ls`; do
sed -En '
- s|^ *Subnet *= *([^ /]*)(/[0-9]*)? *$|\1\t'$i'.'$netname' '$i'|p
+ s|^ *Subnet *= *([^ /]*)(/[0-9]*)? *$|\1 '$i'.'$netname' '$i'|p
' $i
done | sort