#!/bin/sh for f in X bash nvim do sh $f/main.sh echo "$f [OK]" done