File: alternatives

package info (click to toggle)
soundscaperenderer 0.6.0%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,148 kB
  • sloc: cpp: 36,430; sh: 4,522; makefile: 847; ansic: 762; javascript: 593; python: 57
file content (18 lines) | stat: -rwxr-xr-x 242 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

INDIR=$1
OUTFILE=$2

if [ ! -d "${INDIR}" ]; then
 exit 1
fi

mkdir -p $(dirname "${OUTFILE}")

for i in "${INDIR}"/ssr-*
do
 if [ -x "${i}" ]; then
     fun=${i##*/}
     echo $fun
 fi
done | sort -u | grep . | cat > "${OUTFILE}"