diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-06-07 14:55:29 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-06-07 14:55:29 +0200 |
commit | c50c5463355ac3f3092f985f377a85b4d19fe70c (patch) | |
tree | cc0b5655ef5f89fb7964eb6a06ebed92af468885 | |
parent | 44da89e2e263896475589c48ff13c26bdd9d5b57 (diff) | |
download | socklog-void-20150726.tar.gz socklog-void-20150726.tar.xz socklog-void-20150726.zip |
syslog-stripdate: use sed -u for use in pipes. 20150726
-rwxr-xr-x | syslog-stripdate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syslog-stripdate b/syslog-stripdate index cb84619..3f1dc94 100755 --- a/syslog-stripdate +++ b/syslog-stripdate @@ -5,4 +5,4 @@ # turns to # 2014-07-19T10:20:24.52892 user.notice: xbps-install: ... -sed 's/^\([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9][0-9][0-9] [a-z]*\.[a-z]*:\) ... [0-9 ][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] /\1 /' +sed -u 's/^\([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9][0-9][0-9] [a-z]*\.[a-z]*:\) ... [0-9 ][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] /\1 /' |