echo "hello" | kdialog --textbox -
I was hopping that row should pipe the word hello over to kdialog, and by setting the file argument to -
, it should have used the piped text as content.
Is it possible to pipe the content to kdialog?
echo "hello" | kdialog --textbox -
I was hopping that row should pipe the word hello over to kdialog, and by setting the file argument to -
, it should have used the piped text as content.
Is it possible to pipe the content to kdialog?
I'd use here strings to pass the text to
kdialog
stdin:If you need to pass the output of a command you can use command substitution: