I want to clean the below data, which is space delimited, here I want to put this data into 3 columns, 1st & 2nd col will have the first & second delimited data and rest all data I want to put it in 3rd column irrespective of any data it should go to 3rd col
The below data is in single column raw with Id as identity say Table1(id,raw)
Id Raw
1 $.debug /vary/log/slog/slog.log rotate size 100m files 4 compress
2 $.info /vary/admin/ras/slog.caa rotate size 1m files 10
3 authinfo /var/log/authlog
cleaned file will be as
Col1 Col2 Col3
$.debug /vary/log/slog/slog.log rotate size 100m files 4 compress
$.info /vary/admin/ras/slog.caa rotate size 1m files 10
authinfo /var/log/authlog
-Neil