Last change
on this file since 12582 was 8058, checked in by Daniela Dorner, 18 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
1.4 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # ========================================================================
|
---|
4 | #
|
---|
5 | # *
|
---|
6 | # * This file is part of MARS, the MAGIC Analysis and Reconstruction
|
---|
7 | # * Software. It is distributed to you in the hope that it can be a useful
|
---|
8 | # * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
|
---|
9 | # * It is distributed WITHOUT ANY WARRANTY.
|
---|
10 | # *
|
---|
11 | # * Permission to use, copy, modify and distribute this software and its
|
---|
12 | # * documentation for any purpose is hereby granted without fee,
|
---|
13 | # * provided that the above copyright notice appear in all copies and
|
---|
14 | # * that both that copyright notice and this permission notice appear
|
---|
15 | # * in supporting documentation. It is provided "as is" without express
|
---|
16 | # * or implied warranty.
|
---|
17 | # *
|
---|
18 | #
|
---|
19 | #
|
---|
20 | # Author(s): Daniela Dorner 05/2005 <mailto:dorner@astro.uni-wuerzburg.de>
|
---|
21 | #
|
---|
22 | # Copyright: MAGIC Software Development, 2000-2006
|
---|
23 | #
|
---|
24 | #
|
---|
25 | # ========================================================================
|
---|
26 | #
|
---|
27 | # This a resource file for the scripts, in which the standard paths and
|
---|
28 | # functions, which are needed more often are stored.
|
---|
29 | #
|
---|
30 |
|
---|
31 | olds=0
|
---|
32 | cnt=0
|
---|
33 | sequences=`cat /home/bla/not-sequenced.anymore.2006.10.06.19.20.34 | cut -c 19-23`
|
---|
34 | for sequence in $sequences
|
---|
35 | do
|
---|
36 | # echo "v: $sequence $cnt"
|
---|
37 | if ! [ $sequence -eq $olds ]
|
---|
38 | then
|
---|
39 | if [ $cnt -gt 10 ]
|
---|
40 | then
|
---|
41 | echo "seq: $olds $cnt"
|
---|
42 | fi
|
---|
43 | olds=$sequence
|
---|
44 | cnt=0
|
---|
45 | fi
|
---|
46 | cnt=`echo $cnt + 1 | bc`
|
---|
47 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.