JtheRipper
IS-IT--Management
Hi there,
I have a string that looks something like this (this string does not always look the same):
apps1: d: (backup) failed 10:22:33
I would like to replace only the first occurrence of the ":" with a comma so that it looks as follows:
apps1, d: (backup) failed 10:22:33
I know I can use SED to replace the ":" with ",", but it will replace ALL ":"'s with a comma.
Any ideas?
Thanks,
J.
I have a string that looks something like this (this string does not always look the same):
apps1: d: (backup) failed 10:22:33
I would like to replace only the first occurrence of the ":" with a comma so that it looks as follows:
apps1, d: (backup) failed 10:22:33
I know I can use SED to replace the ":" with ",", but it will replace ALL ":"'s with a comma.
Any ideas?
Thanks,
J.