summary refs log tree commit diff
path: root/syslog-stripdate
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-06-07 14:55:29 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-06-07 14:55:29 +0200
commitc50c5463355ac3f3092f985f377a85b4d19fe70c (patch)
treecc0b5655ef5f89fb7964eb6a06ebed92af468885 /syslog-stripdate
parent44da89e2e263896475589c48ff13c26bdd9d5b57 (diff)
downloadsocklog-void-c50c5463355ac3f3092f985f377a85b4d19fe70c.tar.gz
socklog-void-c50c5463355ac3f3092f985f377a85b4d19fe70c.tar.xz
socklog-void-c50c5463355ac3f3092f985f377a85b4d19fe70c.zip
syslog-stripdate: use sed -u for use in pipes. 20150726
Diffstat (limited to 'syslog-stripdate')
-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 /'