Skip to content

Instantly share code, notes, and snippets.

@lukas2
Created January 25, 2019 06:11
Show Gist options
  • Save lukas2/c198ce090bb9d38bcb53cc2b3e55e65b to your computer and use it in GitHub Desktop.
Save lukas2/c198ce090bb9d38bcb53cc2b3e55e65b to your computer and use it in GitHub Desktop.

Revisions

  1. lukas2 created this gist Jan 25, 2019.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    export PAGE="Paul Graham" && clear && curl "https://en.wikiquote.org/w/index.php?title=$(echo $PAGE | sed 's/[[:blank:]]/_/g')&action=edit" 2>/dev/null | grep "\s*\\s[^\[\]" | sed 's/^\*[[:blank:]]//g' | sort -R | head -n 1 | fold -s