3 added 14 characters in body
source | link

If input file contains a list of URL, it is easier to say what we want to ignoreskip .

With grep: grep -v

grep -v  '//.*/.' file.txt

or withWith awk (ignore: ignore if we have a filefile or dirdir = print if empty $4)

awk -F/ '!$4'     file.txt

If input file contains a list of URL, it is easier to say what we want to ignore . grep -v

grep -v  '//.*/.' file.txt

or with awk (ignore if we have a file or dir = print if empty $4)

awk -F/ '!$4'     file.txt

If input file contains a list of URL, it is easier to say what we want to skip .

With grep: grep -v

grep -v  '//.*/.' file.txt

With awk: ignore if we have a file or dir = print if empty $4)

awk -F/ '!$4'     file.txt
2 added 49 characters in body
source | link

If input file contains a list of URL, it is easier to say what we want to ignore . grep -v

grep -v  '//.*/.' file.txt

or with awk (ignore if we have a file or dir = print if empty $4)

awk -F/ '!$4'     file.txt

If input file contains a list of URL, it is easier to say what we want to ignore . grep -v

grep -v  '//.*/.' file.txt

If input file contains a list of URL, it is easier to say what we want to ignore . grep -v

grep -v  '//.*/.' file.txt

or with awk (ignore if we have a file or dir = print if empty $4)

awk -F/ '!$4'     file.txt
1
source | link

If input file contains a list of URL, it is easier to say what we want to ignore . grep -v

grep -v  '//.*/.' file.txt