urlscan
urlscan copied to clipboard
question - how to display line number
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!
$ urlscan -n /path/to/mycode.cc
crbug.com
http://crbug.com/898555)
https://security.googleblog.com/2017/09/chromes-plan-to-distrust-symantec.html
http://crbug.com/921750)
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!