diff options
author | Wolfgang Jenkner <wjenkner@inode.at> | 2017-07-06 18:41:14 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-07-08 20:48:20 +0200 |
commit | b0d61b82750f7466349e34e8c1831664e701a460 (patch) | |
tree | 68f07e76ebafceff940c06b3f2d0f304426d8809 /mcom | |
parent | 0023602f7ba7ef283d92bb269c4f92e235a62798 (diff) | |
download | mblaze-b0d61b82750f7466349e34e8c1831664e701a460.tar.gz mblaze-b0d61b82750f7466349e34e8c1831664e701a460.tar.xz mblaze-b0d61b82750f7466349e34e8c1831664e701a460.zip |
mcom: fix non-POSIX sed usage
Diffstat (limited to 'mcom')
-rwxr-xr-x | mcom | 3 |
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() { |