#!/bin/sh hoodfile=$(grep -l "id\": \"$1\"" hood/* ) [ -z $hoodfile ] && echo "no hood $1" && exit cat $hoodfile