Skip to content

Instantly share code, notes, and snippets.

@abenson
Created January 7, 2020 20:30
Show Gist options
  • Save abenson/28360601059c8846caeaea2f2f002b9b to your computer and use it in GitHub Desktop.
Save abenson/28360601059c8846caeaea2f2f002b9b to your computer and use it in GitHub Desktop.
check void updates
#!/bin/sh
URL='https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt'
if [ -z "$1" ]; then
echo "usage: $0 <name>"
exit
fi
curl -sL "$URL" | sed -n "/$1/,/^$/p"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment