| 1 |
#!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 |
|
| 3 |
if [scip-shell system . . `[`. $# -gt 0 ] ; then |
| 4 |
if [scip-shell system . . `[`. "$(filescip-shell system . . file. --brief --mime-type $1)" = "text/plain" ] ; then |
| 5 |
praat --new-send $1 |
| 6 |
else |
| 7 |
praat --open $1 |
| 8 |
fi |
| 9 |
else |
| 10 |
praat |
| 11 |
fi |