~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to outside/rdscr.sh

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
3
# script for emulating READ/DESCR in Midas
 
4
# using keyword file "DESCR.KEY"
 
5
 
6
# K. Banse      DMD/DFS, ESO - Garching
 
7
# 031218        creation
 
8
# 040105        last modif
 
9
 
10
  
 
11
# fill keyword file
 
12
 
 
13
echo "in_a/c/1/80 $1" > DESCR.KEY
 
14
echo action/c/1/2 rb >> DESCR.KEY
 
15
 
 
16
if [ $# -lt 2 ]; then
 
17
   echo p2/c/1/80 \*\   >> DESCR.KEY
 
18
else
 
19
   echo "p2/c/1/80 $2"  >> DESCR.KEY
 
20
fi
 
21
 
 
22
# switch to outside mode + execute
 
23
export MIDAS_OUTSIDE=1
 
24
$MID_EXE/descr.exe
 
25