From 4517f3ec636003ebde56c95b9c22c31abc26a8d2 Mon Sep 17 00:00:00 2001 From: Martin Wimpress <304639+flexiondotorg@users.noreply.github.com> Date: Thu, 9 May 2024 12:15:27 +0100 Subject: [PATCH] Change cut_1 to cut -d' ' -f 1 --- 06-Advanced-quickget-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06-Advanced-quickget-features.md b/06-Advanced-quickget-features.md index 93fdf9e..d90dbb8 100644 --- a/06-Advanced-quickget-features.md +++ b/06-Advanced-quickget-features.md @@ -53,7 +53,7 @@ function get_newos() { ISO="newos-${RELEASE}-${EDITION}-amd64.iso" URL="https://www.newos.org/download/${RELEASE}/${EDITION}" - HASH=$(web_pipe "${URL}/SHA512SUMS" | grep "${ISO}" | cut_1) + HASH=$(web_pipe "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f 1) echo "${URL}/${ISO} ${HASH}" } ``` \ No newline at end of file