From e95e341c45e26fe6606e5b586dda71c2dc721e09 Mon Sep 17 00:00:00 2001 From: ZeLibertineGamer Date: Fri, 20 May 2016 09:01:53 -0700 Subject: Initial commit I was dumb and didn't start committing as soon as I started. vgstash is considered ready for 0.1 and beta usage. There's a somewhat long road ahead, but I look forward to making this tool finally come to fruition. --- scripts/system-search.sh | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 scripts/system-search.sh (limited to 'scripts') diff --git a/scripts/system-search.sh b/scripts/system-search.sh new file mode 100755 index 0000000..329ead9 --- /dev/null +++ b/scripts/system-search.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +# system-search.sh: List all games from a specific system + +# Accepts either one argument (the system name), or the filter to send +# to vgstash and then the system name. + +show_help() { + cat <<-FOOBAR + system-search.sh [filter] SYSTEM + + filter: The filter to pass to vgstash. "all" by default + SYSTEM: The value in the System column to search for. Accepts + awk-style regex. + + For example, to check which games for the NES that are in progress, + you would do: + + system-search.sh incomplete NES +FOOBAR +} + +case $# in + 1) + filter="all" + system="$1" + ;; + 2) + filter="$1" + system="$2" + ;; + *) + show_help + ;; +esac + +vgstash list "${filter}" | awk -F '|' "\$3 ~ \"${system}\"" -- cgit v1.2.3-54-g00ecf 1275cfd82ded2cf6b99803adac9631e1'>treecommitdiff
path: root/brushes/map_1d-u.gbr (unfollow)
AgeCommit message (Expand)AuthorFilesLines