|
Revision 1669, 0.6 kB
(checked in by gary, 13 months ago)
|
|
set of changes correcting problems with punch header information
CheckPunchSharp?.pl - output all files that do not start with # - the correct first character of the header in punch output
parse_punch.cpp - add missing header information
punch_do.cpp - missing sharp sign
func_globule.in - wrong punch filename, overwriting correct punch output
h2_cr_grains.in - add punch grains H2rates, which was not tested elsewhere
orion_hii_pdr.in, orion_hii_pdr_pp.in - same punch appeared twice, clobbering output
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | foreach $input (<*.in>) |
|---|
| 10 | { |
|---|
| 11 | |
|---|
| 12 | $outname = $input; |
|---|
| 13 | $outname =~ s/\.in$//; |
|---|
| 14 | foreach $output (<$outname.*>) |
|---|
| 15 | { |
|---|
| 16 | open IN, $output or die "Couldn't open $output"; |
|---|
| 17 | $line = <IN>; |
|---|
| 18 | close IN; |
|---|
| 19 | if ($line) { |
|---|
| 20 | print "$output\n" if not $line =~ /^ |
|---|
| 21 | } |
|---|
| 22 | } |
|---|
| 23 | } |
|---|