,
Kurt
El vie, 14 may 2021 a las 11:53, Bernhard Voelker ()
escribió:
> On 5/11/21 3:58 AM, Kurt von Laven wrote:
> > The following command correctly outputs nothing.
> > xargs --no-run-if-empty -I str echo str <<< ""
> >
> > The following comma
overflow.com/a/17287097/3866835>, the following commands
output nothing when the input consists only of whitespace.
[[ $input = *[![:space:]]* ]] && xargs --delimiter="\n" -I str echo str <<<
"$input"
[[ $input = *[![:space:]]* ]] && xargs --null -I str echo str <<< "$input"
Be well,
Kurt von Laven