Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/benchmarks/nbench/files/patch-sysinfo.sh
16130 views
1
--- sysinfo.sh.orig 2008-05-12 20:35:23 UTC
2
+++ sysinfo.sh
3
@@ -65,8 +65,8 @@ rm -f sysinfo.crm sysinfoc.c hello
4
5
# this bombs out on Ultrix which expect "cut -d"
6
7
-compsystem=`uname -a | cut -b 1-78`
8
-compdate=`date|cut -b1-55`
9
+compsystem=`uname -a | cut -f 1-78`
10
+compdate=`date | cut -f 1-55`
11
12
# let's hope that ctrl-c is not part of any string here
13
# this also will barf later if " is in any of the strings
14
15