On 01/29/2016 07:47 PM, Cameron Simpson wrote:
sed 's/^\([^ ][^ ]* *[^ ][^ ]*\) [^-]*-\(.*\)/\1 \2/'
Awesome. Works perfectly on everything so far.
You just saved me from trying to feed regex's to awk \(•◡•)/
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscr
On 29Jan2016 19:07, Mike Wright wrote:
Don't know whether this requires a "sed" and/or an "awk" solution. I have
strings in a log file whose only important info for a digest are new strings
containing the date, time, and the remainder of the line following the first
occurrence of a hyphen. A
Hi all,
Don't know whether this requires a "sed" and/or an "awk" solution. I
have strings in a log file whose only important info for a digest are
new strings containing the date, time, and the remainder of the line
following the first occurrence of a hyphen. All delimiters are spaces
until