Revision 16,
350 bytes
checked in by marcus, 15 years ago
(diff) |
r1 | svn | 2007-12-13 11:10:29 +0100 (Do, 13 Dez 2007) | 2 lines
Initial import
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #! /bin/csh |
---|
2 | # |
---|
3 | # |
---|
4 | # file noof_button_sets.csh |
---|
5 | # ==================== |
---|
6 | # |
---|
7 | # version 1, 14-Nov-2003 |
---|
8 | # |
---|
9 | # find number of station sets defined |
---|
10 | # K. Stammler, 14-Nov-2003 |
---|
11 | |
---|
12 | set cnt=1 |
---|
13 | while (1 > 0) # forever |
---|
14 | set cnt=`printf "%02d" $cnt` |
---|
15 | set fname=$SH_GLOBALS/STATLIST_$cnt.STX |
---|
16 | if (! -e $fname) break |
---|
17 | @ cnt = $cnt + 1 |
---|
18 | end |
---|
19 | |
---|
20 | @ cnt = $cnt - 1 |
---|
21 | echo $cnt |
---|
Note: See
TracBrowser
for help on using the repository browser.