Quote:
Originally Posted by acctman
hmm I noticed that you removed -ne, it works without that. also is there a way to make it append the outputs each time the command is run? it seems to be writing a new file each time I run the command. thanks
Code:
sed 's/^.*terms_id=\([^&]*\)&.*$/\1/' test.txt > getIDs.txt
|
sed 's/^.*terms_id=\([^&]*\)&.*$/\1/' test.txt >> getIDs.txt