Search Results

Search: Posts Made By: sp0
5,457
Posted By sp0
Thanks for the answer Don, but your solution...
Thanks for the answer Don, but your solution assumes fixed number of spaces. So it does not work.

But the file i have does not have a constant number of blank spaces between the columns..

I...
5,457
Posted By sp0
No this is not a homework assignment. I know...
No this is not a homework assignment.

I know how to do it using cut.
cut -d" " -f1-6,8- filename

Desired output format 1 (remove 7th column)

1: 010 0xad45 sp1 - 11:29:51.498583949 ...
5,457
Posted By sp0
Remove a column using vi editor
How do i remove a column using vi editor

Assuming the file to be of format


1: 010 0xad45 sp1 - 11:29:51.498583949 500249144 Event1 rst bcfe jhv rgc
456: 010 0xadb sp2 - ...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy