20 lines
285 B
Bash
Executable File
20 lines
285 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
PREFIX=$1
|
|
TASK=$2
|
|
|
|
for REPO in $PREFIX-s*
|
|
do
|
|
INDEX=${REPO#$PREFIX-s}
|
|
|
|
SOLUTION_FILE="${REPO}/${TASK}.py"
|
|
|
|
if [[ -r "$SOLUTION_FILE" ]]
|
|
then
|
|
echo "========================================"
|
|
echo "======== $INDEX ========================"
|
|
cat "$SOLUTION_FILE"
|
|
echo ""
|
|
fi
|
|
|
|
done |