File: ralist.sh

package info (click to toggle)
resource-agents 1%3A3.9.3%2Bgit20121009-3.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,152 kB
  • ctags: 1,591
  • sloc: sh: 37,777; perl: 3,384; ansic: 3,354; makefile: 585; xml: 89
file content (9 lines) | stat: -rwxr-xr-x 134 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/sh

RADIR=$1
PREFIX=$2
SUFFIX=$3

for f in `find $RADIR -type f -executable`; do
    echo ${PREFIX}`basename $f`${SUFFIX}
done