Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Check 4 idiotism
- if [ ! $# -eq 4 ]; then
- echo "Number of arguments is invalid:" $# "/ 4"
- exit 1
- fi
- if [ -z $EEG_TZ ]; then
- EEG_TZ="UTC";
- fi
- #echo $EEG_TZ
- timetableFile=$1
- if [ -z $timetableFile ]; then
- echo "ERROR: Missing Timetable file"
- exit 1;
- fi
- eegFile=$2
- if [ -z $eegFile ]; then
- echo "ERROR: Missing EEG file"
- exit 1;
- fi
- larinxFile=$3
- if [ -z $larinxFile ]; then
- echo "ERROR: Missing Laringograph file"
- exit 1;
- fi
- targetDir=$4
- if [ -z $targetDir ]; then
- targetDir=$(echo $(pwd)/result)
- mkdir targetDir;
- fi
- #END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement