summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xsyslog-stripdate2
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 /'