scyther/scripts/loop-spdl.sh

13 lines
155 B
Bash
Executable File

#!/bin/sh
#
# Script to iterate over all .spdl files
#
# Usage:
#
# loop-spdl.sh command_to_iterate
#
CMD=$*
find .. -name '*.spdl' | xargs -n 1 $CMD