Changeset 943
- Timestamp:
- 06/12/09 10:56:51 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/report.sh
r942 r943 41 41 .issmh2 { 42 42 margin-top:1.5em; 43 width: 900px;43 width:800px; 44 44 background: transparent; 45 45 color: #6495ed; … … 53 53 word-wrap:break-word; 54 54 padding:4px; 55 width: 900px;55 width:800px; 56 56 border:1px dashed #000000; 57 57 text-align: left; … … 104 104 else 105 105 106 echo "<table cellspacing=\"-1\" width=\" 900px\" style=\"font-family: Arial, Verdana, Tahoma; color: #404040;\">"107 echo "<tr> <th >Result</th> <th>Tolerance</th> <th>Test</th> <th>Solution</th> <th>Field</th> </tr>"106 echo "<table cellspacing=\"-1\" width=\"800px\" style=\"font-family: Arial, Verdana, Tahoma; color: #404040;\">" 107 echo "<tr> <th style=\"font-size:14px;\">Result</th> <th style=\"font-size:14px;\">Tolerance</th> <th style=\"font-size:14px;\">Test</th> <th style=\"font-size:14px;\">Solution</th> <th style=\"font-size:14px;\">Field</th> </tr>" 108 108 109 109 # go through the lines of $package.log … … 121 121 122 122 #build html corresponding line 123 cat $package.log | awk '{ printf "line%so %s\n", NR, $0 }' | awk '/line'$i'o/ {printf("<td '$color' >%s</td><td '$color'> %s%s%s</td><td '$color'> %s</td><td '$color'> %s</td><td '$color'> %s</td>",$2,$4,$5,$6,$8,$10,$14);}';123 cat $package.log | awk '{ printf "line%so %s\n", NR, $0 }' | awk '/line'$i'o/ {printf("<td '$color' style=\"font-size:14px;\">%s</td><td '$color' style=\"font-size:14px;\"> %s%s%s</td><td '$color' style=\"font-size:14px;\"> %s</td><td '$color' style=\"font-size:14px;\"> %s</td><td '$color' style=\"font-size:14px;\"> %s</td>",$2,$4,$5,$6,$8,$10,$14);}'; 124 124 echo "</tr>" 125 125 done
Note:
See TracChangeset
for help on using the changeset viewer.