View Single Post
Old 08-02-2010, 09:47 PM  
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
sed command line help

I'm trying to get this sed command to work correctly. I need to retrieve a specific "string" from: terms_id=string&location
below is what i'm working with so far.

Code:
sed -ne 's/^.*terms_id=\([^&]*\)&.*$/\1/'
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote