diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-01-10 22:26:55 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-10 22:26:55 +0530 |
| commit | d2f1ccb2882c7ae421dba1e4c386241fed3b93be (patch) | |
| tree | e892bc26c37c87967e7761138b471a233cf80963 | |
| parent | 931135ba08cabdc9cfe547d16fceb14ef0d3e22e (diff) | |
| parent | e4e1f291743c8d5ed725a29c37338fdc0c4e9c65 (diff) | |
| download | anypinentry-d2f1ccb2882c7ae421dba1e4c386241fed3b93be.tar.gz anypinentry-d2f1ccb2882c7ae421dba1e4c386241fed3b93be.zip | |
Merge pull request #9 from jlucas8/cut
fix input parsing when cmd has no data
| -rwxr-xr-x | anypinentry | 2 |
1 files changed, 1 insertions, 1 deletions
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) ;; |
