diff options
author | tv <tv@xso> | 2011-09-09 14:50:28 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-09 14:50:28 +0200 |
commit | f8dcc0059b8e53def57b242e2e093009b998865c (patch) | |
tree | 2b2a254460f50de1dec86b7f3810d34197072d2c /host/dist/arch/getsize | |
parent | 755c0cc889fd215ef2ebc15f819d7ce4bb186552 (diff) |
//host/dist/arch/getsize: use BRE @sed
Diffstat (limited to 'host/dist/arch/getsize')
-rwxr-xr-x | host/dist/arch/getsize | 6 |
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 |