diff options
author | tv <tv@nomic.retiolum> | 2014-04-20 22:54:02 +0200 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2014-04-20 22:54:02 +0200 |
commit | dd5d0af9e64e343e68d5b3fc766767f5ebfa9a89 (patch) | |
tree | 8988d3f4d452781ec451feaf5c0a28ff2e42f06c /retiolum/bin/hosts | |
parent | 74ac7de3f0ada98d591f4b67e21ec0eeedb638fa (diff) |
retiolum/bin/hosts: osx doesn't know \t
Diffstat (limited to 'retiolum/bin/hosts')
-rwxr-xr-x | retiolum/bin/hosts | 2 |
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 |