Skip to content
/ urlseg Public

Expands a list of urls into their individual uri elements.

License

Notifications You must be signed in to change notification settings

bruston/urlseg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Expands a list of urls into their individual uri elements. Takes input from stdin.

So: https://www.example.com/foo/bar/baz.js

Becomes:

https://www.example.com/foo/bar/baz.js
https://www.example.com/
https://www.example.com/foo
https://www.example.com/foo/bar

Outputs to stdout.

Example Usage

echo "https://www.example.com/foo/bar/baz.js" | urlseg

cat urls.txt | urlseg

About

Expands a list of urls into their individual uri elements.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages