[ILUGC] Re: [Help] Looking for sed / awk solution to compare and delete tex

  • From: Baskar Selvaraj <baskar@xxxxxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx
  • Date: Tue, 11 Oct 2016 21:56:01 +0530

On Tue, Oct 11, 2016 at 9:42 PM, Balasubramaniam Natarajan <
bala150985@xxxxxxxxx> wrote:

Is this what you want ?  the -v will invert the selection.
$ grep -f code.txt fullurl.txt
https://www.youtube.com/watch?v=T7E1rq7zHLc
https://www.youtube.com/watch?v=JePixuWr2n0
https://www.youtube.com/watch?v=Dl2WUH2m69I
$ grep -v -f code.txt fullurl.txt
https://www.youtube.com/watch?v=5K0gRrowTyA
https://www.youtube.com/watch?v=lXRaaHxshWg
https://www.youtube.com/watch?v=uN_vBFyu_-g
https://www.youtube.com/watch?v=puDkLFcCZyI
https://www.youtube.com/watch?v=n4ZKkzWC9Xw
https://www.youtube.com/watch?v=08LuMoiF_tI
https://www.youtube.com/watch?v=Ki0boGH4-Kc


Inverting the selection filtered the text.

Thanks

S. Baskar


_____________________________________
ILUGC List: http://www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts: