Skip to content

Instantly share code, notes, and snippets.

@sankitch
Last active December 18, 2015 12:09
Show Gist options
  • Save sankitch/5780527 to your computer and use it in GitHub Desktop.
Save sankitch/5780527 to your computer and use it in GitHub Desktop.
sitemap.xmlから、URLの一覧を出力.
#!/bin/sh
curl $1 | awk -F"[<>]" '/loc/ { print $3 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment