On Thu, Oct 28, 2010 at 5:13 PM, Narendra Sisodiya < [email protected]> wrote:
> I have file which has > > 10/28-16:29:20.472492 yahoo.com 69.147.76.120:80 > 10/28-16:29:20.892151 yahoo.com 192.168.2.13:58803 > > I want to remove port numbers like this > > 10/28-16:29:20.472492 yahoo.com 69.147.76.120 > 10/28-16:29:20.892151 yahoo.com 192.168.2.13 > > Can somebody give me sed command to do it ? > > Cut command is this. but I want in sed cut -d":" -f1,2,3 -- l...@iitd - http://tinyurl.com/ycueutm
