File: sub

package info (click to toggle)
bart-cuda 0.8.00-2
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, sid
  • size: 7,752 kB
  • sloc: ansic: 100,267; python: 717; makefile: 576; sh: 564; cpp: 104
file content (17 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
set -e

if [ ! -f ${TOOLBOX_PATH}/$(basename $0) ] ; then

	echo "\$TOOLBOX_PATH is not set correctly!"
	exit 1
fi

if [ $# -lt 3 ] ; then

	echo "Usage: $0 <input1> <input2> <output>"
	exit 1
fi

${TOOLBOX_PATH}/bart saxpy -- -1. $1 $2 $3