From e4e1f291743c8d5ed725a29c37338fdc0c4e9c65 Mon Sep 17 00:00:00 2001 From: João Lucas Date: Sat, 4 Jan 2025 00:48:04 +0000 Subject: fix input parsing when cmd has no data --- anypinentry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anypinentry b/anypinentry index 8808939..4790ebe 100755 --- a/anypinentry +++ b/anypinentry @@ -151,7 +151,7 @@ interpret_command() { return fi cmd="$(echo "$1" | cut -d' ' -f1 | tr a-z A-Z)"; - data="$(echo "$1" | cut -d' ' -f2-)"; + data="$(echo "$1" | cut -d' ' -sf2-)"; case "${cmd}" in NOP) ;; -- cgit v1.3.1