summaryrefslogtreecommitdiffstats
path: root/doc/man/ralist.sh
blob: 31444b6e2f0d247fe60e8a4b8990ddff270cc4e5 (plain)
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