1 2 3 4 5 6 7 8 9
#!/bin/sh RADIR=$1 PREFIX=$2 SUFFIX=$3 find "$RADIR" -type f -executable | while read -r file; do echo "${PREFIX}$(basename "$file")${SUFFIX}" done