Skip to content

Instantly share code, notes, and snippets.

@marccane
Created April 9, 2024 10:23
Show Gist options
  • Save marccane/ce69ee432cbb1ec8e9b12daee87115ad to your computer and use it in GitHub Desktop.
Save marccane/ce69ee432cbb1ec8e9b12daee87115ad to your computer and use it in GitHub Desktop.
Linux oneliner to get the authors of the sublime text articles. Uses curl, grep, awk and xargs.
#!/bin/bash
curl -s https://www.sublimetext.com/blog/articles/2021/03 | grep -o "/blog/articles/[0-9][0-9][0-9][0-9]/[0-9][0-9]" | awk '{print "https://www.sublimetext.com" $0}' | xargs curl -s | grep '"author">'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment