opnsense-ports/benchmarks/libmicro/files/patch-multiview.sh
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

39 lines
686 B
Bash

--- multiview.sh.orig Wed Aug 17 22:48:57 2005
+++ multiview.sh Wed Aug 17 22:49:00 2005
@@ -40,15 +40,15 @@
# the redder the color, the slower the result, the greener the
# faster
-/bin/nawk ' BEGIN {
+/usr/bin/awk ' BEGIN {
benchmark_count = 0;
header_count = 0;
}
/^#/ {
- continue;
+ next;
}
/errors/ {
- continue;
+ next;
}
/^\!/ {
split($0, A_header, ":");
@@ -59,7 +59,7 @@
header_names[name] = ++header_count;
headers[header_count] = name;
}
- continue;
+ next;
}
{
@@ -136,7 +136,7 @@
for (j = 2; j < ARGC; j++)
printf("<td>%s</td>\n", "not computed");
- continue;
+ next;
}
for (j = 2; j < ARGC; j++) {