Parent Directory
|
Revision Log
|
Revision Graph
Some basic scripts are gather here: a) the restart test : "1+1=2" b) PBS batch script that resubmit itself (loop).
1 | #!/bin/csh |
2 | set xx = '000'$1 |
3 | set yy = `echo $xx | sed 's/^...$/aaa/'` |
4 | |
5 | while ( $yy != 'aaa' ) |
6 | set xx = `echo $xx | sed 's/^0//'` |
7 | set yy = `echo $xx | sed 's/^...$/aaa/'` |
8 | # echo $xx $yy |
9 | end |
10 | echo $xx |
11 | exit |
ViewVC Help | |
Powered by ViewVC 1.1.22 |