source: SH_SHM/branches/2011.2/setup/noof_button_sets.csh @ 376

Revision 16, 350 bytes checked in by marcus, 14 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
12set cnt=1
13while  (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
18end
19
20@ cnt = $cnt - 1
21echo $cnt
Note: See TracBrowser for help on using the repository browser.