| Last change
                  on this file was
                  19552,
                  checked in by westram, 38 hours ago | 
        
          | full update from 'trunk' into 'help'
adds:
 | 
        
          | 
              
                  Property svn:eol-style set to
                  native
                  Property svn:executable set to
                  *
                  Property svn:keywords set to
                  Author Date Id Revision | 
        | File size:
            411 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | #!/bin/bash | 
|---|
| 2 |  | 
|---|
| 3 | # if ARB_WAIT_TIMEOUT is set and contains a positive integer (>0), else 0 | 
|---|
| 4 | if [[ -n ${ARB_WAIT_TIMEOUT+x} && ${ARB_WAIT_TIMEOUT} =~ ^[1-9][0-9]*$ ]]; then | 
|---|
| 5 | SECWAIT=${ARB_WAIT_TIMEOUT} | 
|---|
| 6 | else | 
|---|
| 7 | SECWAIT=0 | 
|---|
| 8 | fi | 
|---|
| 9 |  | 
|---|
| 10 | if [ "${SECWAIT}" = 0 ]; then | 
|---|
| 11 | echo "[Press ENTER to close window]" | 
|---|
| 12 | read A | 
|---|
| 13 | else | 
|---|
| 14 | echo "[Press ENTER or wait ${SECWAIT} seconds to close window]" | 
|---|
| 15 | read -t ${SECWAIT} A | 
|---|
| 16 | true | 
|---|
| 17 | fi | 
|---|
| 18 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.