Open cjbd opened 3 years ago
Nothing comes to mind immediately. I thought maybe some combination of --regex and --run, but I think urlscan would have to track the line numbers. This would take adding an option to list the urls by line number instead of just numerically. PR's welcome!
@cjbd You can use nl
from coreutils.
$ urlscan -n /path/to/mycode.cc | nl
hello, i'm new to urlscan, this tool is pretty cool, i'm using it to find all urls in source code, the output is great, but it would be even better to print line number along with url found, how can i do that? thank you!