From 2d8fce238ba8352ac092a203c6edf1c8e3135acf Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 30 Mar 2023 12:01:13 +0200 Subject: cleanup on ytclipo --- bin/common/ytclipo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/common') diff --git a/bin/common/ytclipo b/bin/common/ytclipo index 6cb2fc6..6b47991 100755 --- a/bin/common/ytclipo +++ b/bin/common/ytclipo @@ -1,8 +1,8 @@ #!/bin/sh # argument ($1) -> clipboard -> stdin -test -z "${inp:=${1:-"$(xclip -sel c -o)"}}" \ - && inp="$(cat /dev/stdin)" +test -z "${inp:=${1:-"$(xclip -sel c -o)"}}" && + inp="$(cat /dev/stdin)" echo "inp: ${inp}" 1>&2 # take last link from clipboard -- cgit v1.2.3