Skip to content

Instantly share code, notes, and snippets.

@kentbye
Created February 18, 2014 00:43
Show Gist options
  • Save kentbye/9062306 to your computer and use it in GitHub Desktop.
Save kentbye/9062306 to your computer and use it in GitHub Desktop.
Filter out the unix paths from a Jekyll-annotated HTML file
# Filter out the URL path from the Jekyll-annotated HTML file
cat puppet_3.html | grep "%}</li>" | cut -d, -f2 | sed 's/"\(.*\)".*/\1/' > puppet_3.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment