Hello guys,
I am trying to split the following line using awk. I have tried every possible unix command sed, awk, cut, and tr, but to not avail.
PLS can you help.
What I am tryin to do is as follows
Line that needs to be processed is as follows:
root 1769 0.0 0.1 1568 76 tty1 S Jul09 0:00 /sbin/mingetty tty
I want to split the following above line to the following:
root,0.0,0.1,/sbin/mingetty tty
Can I achieve the above using AWK????????
I have used the following, but its not a perfect solution
YOUR HELP WILL BE APPRECIATED.
Ed
THKS.
I am trying to split the following line using awk. I have tried every possible unix command sed, awk, cut, and tr, but to not avail.
PLS can you help.
What I am tryin to do is as follows
Line that needs to be processed is as follows:
root 1769 0.0 0.1 1568 76 tty1 S Jul09 0:00 /sbin/mingetty tty
I want to split the following above line to the following:
root,0.0,0.1,/sbin/mingetty tty
Can I achieve the above using AWK????????
I have used the following, but its not a perfect solution
YOUR HELP WILL BE APPRECIATED.
Ed
THKS.