From 6afc07ded42f4889680f9080fa32dbf063cb987e Mon Sep 17 00:00:00 2001
From: M33 <327-m33@git.qoto.org>
Date: Fri, 9 Dec 2022 16:59:56 +0000
Subject: [PATCH] @isobel@ioc.exchange 's hint for better efficiency

---
 comfy-netbsd.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/comfy-netbsd.sh b/comfy-netbsd.sh
index 346ee37..f3f3c23 100644
--- a/comfy-netbsd.sh
+++ b/comfy-netbsd.sh
@@ -5,8 +5,8 @@
 #
 
 # Get architecture, relase etc to build repository path
-ARCH=`grep MACHINE_ARCH /etc/release | awk '{print $3}' | sed "s/'//g"`
-VER=`grep DISTRIBVER    /etc/release | awk '{print $3}' | sed "s/'//g"`
+ARCH=`grep MACHINE_ARCH /etc/release | awk '{print $3}' | tr -d "'" 
+VER=`grep DISTRIBVER    /etc/release | awk '{print $3}' | tr -d "'"
 
 # Package list to be installed, as you see fit
 PKGLIST="wget nano free vim tmux bash curl sudo psmisc mtr htop mozilla-rootcerts* git alpine elinks"
-- 
GitLab