about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorWolfgang Jenkner <wjenkner@inode.at>2017-07-06 18:41:14 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-07-08 20:48:20 +0200
commitb0d61b82750f7466349e34e8c1831664e701a460 (patch)
tree68f07e76ebafceff940c06b3f2d0f304426d8809 /mcom
parent0023602f7ba7ef283d92bb269c4f92e235a62798 (diff)
downloadmblaze-b0d61b82750f7466349e34e8c1831664e701a460.tar.gz
mblaze-b0d61b82750f7466349e34e8c1831664e701a460.tar.xz
mblaze-b0d61b82750f7466349e34e8c1831664e701a460.zip
mcom: fix non-POSIX sed usage
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcom b/mcom
index 0a3d219..63a0894 100755
--- a/mcom
+++ b/mcom
@@ -13,7 +13,8 @@ notmine() {
 }
 
 reffmt() {
-	sed 's/^[^<]*//g;s/[^>]*$//g;s/>[^<]*</>\n</g' | uniq | sed 's/^/ /'
+	sed 's/^[^<]*//g;s/[^>]*$//g;s/>[^<]*</>\
+</g' | uniq | sed 's/^/ /'
 }
 
 msgid() {