summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhost/dist/arch/getsize6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/dist/arch/getsize b/host/dist/arch/getsize
index d099c9e2..a2ef8f95 100755
--- a/host/dist/arch/getsize
+++ b/host/dist/arch/getsize
@@ -1,13 +1,13 @@
#! /bin/sh
set -euf
-sed -rn '
+sed -n '
/^Name/{
- s/^Name *: *(.*)$/\1/
+ s/^Name *: *\(.*\)$/\1/
T
h
}
/^Installed Size/{
- s/^Installed Size *: *(.*)$/ \1/
+ s/^Installed Size *: *\(.*\)$/ \1/
T
H
x