#1  
Old 11th August 2010, 11:32
crzyOrc crzyOrc is offline
Junior Member
 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default need some help with sed

Hi,
i have a log file look like this:
/WebBug.aspx AdvertiserId=991&ConversionId=1333&DmgContext=7d84 d9aa4db949f9a0f325ca5c9b65fa - HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.2)+Gecko/20100115+Firefox/3.6

/WebBug.aspx AdvertiserId=991&ConversionId=1333&DmgContext=87a4 72fa1e004d70ae347a262d3bba7d - HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.2)+Gecko/20100115+Firefox/3.6

/WebBug.aspx AdvertiserId=991&ConversionId=1333&DmgContext=c5dc 5d30845c49bda50b102cb2aaf37d - HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.2)+Gecko/20100115+Firefox/3.6

i want to display just the part of the DmgContext=c5dc5d30845c49bda50b102cb2aaf37d in every line

i tried to do so with SED but with no success.

PLEASE HELP ME
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
sed

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create text files dynamically from master textfile with sed mangecelle Programming/Scripts 1 21st April 2009 04:16
Email editing with Procmail, sed etc Challenger Programming/Scripts 1 9th June 2008 01:04
Bash Script use of Sed here is an easy one dhonnoll78 Programming/Scripts 3 5th April 2008 07:28
Help w/ sed parsing special characters clem_c_rock Programming/Scripts 2 6th September 2007 17:35
How to add/change entries use diff and sed tiffany C Programming/Scripts 1 1st August 2007 03:32


All times are GMT +2. The time now is 10:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.