Skip to content

Instantly share code, notes, and snippets.

View Johnnynator's full-sized avatar

John Zimmermann Johnnynator

View GitHub Profile
#!/bin/bash
./xbps-src binary-bootstrap
/bin/echo -e '\x1b[32mChanged packages:\x1b[0m'
git diff --name-status master...HEAD | grep "^[AM].*srcpkgs/[^/]*/template$" | cut -d/ -f 2 | tee /tmp/templates | sed "s/^/ /" >&2
PKGS="$(./xbps-src sort-dependencies $(cat /tmp/templates))"
PKGS="${PKGS/\=\> Using*repository./}"
echo $PKGS

Keybase proof

I hereby claim:

  • I am johnnynator on github.
  • I am johnnynator (https://keybase.io/johnnynator) on keybase.
  • I have a public key ASDi2yVehykTkoO_MBjQn82zP-FBqAgek5Qpj2FuIXbyMgo

To claim this, I am signing this object:

for i in {1..43} ;do
echo -n "# "
grep "quest_CAMPAIGN_QUEST_${i}_name" string.txt | sed 's/[(")]//g' | cut -f2
echo -n "#* "
grep "quest_CAMPAIGN_QUEST_${i}_task\"" string.txt | sed 's/[(")]//g' | cut -f2
done