Need to separate the following value 'xxx.xxx.xxx.xxx:xx:xx'
I'm sure sed or awk will come into play here. But I can't figure 'em out!
I need to split a line of text, based on the first instance of colon ":".
For instance, if I have the line 'xxx.xxx.xxx.xxx:yy:zz' I want a return of both the left ('xxx.xxx.xxx.xxx'), and the right ('yy:zz').
Any help?
|