You are not logged in.
Pages: 1
Hi, I am new to scripting and have been starting to the remind calendar. I would like to pass output from remind into kdialog, but I cannot figure out how. I am pretty sure that this is not an issue with either program, but simply my limited knowledge of the shell. I have studied the manuals of both extensively, and found no similar case. If your preference would be to confirm that this is my issue, and point me in the direction of a shell script resource rather than directly answer my question that would be fine too.
Offline
Please show what you do have. Is the dialog not even opening, or is the output not what you want? What is the actual problem?
What output from rem(ind) do you actually want shown in kdialog?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
This is the output I want from remind.
remind ~/.reminders
and
remind -c[n] ~/.reminders
(simple text calender)
This is the syntax I thought to use in kdialog:
kdialog -passivepopup "input text"
Here's my issue...
I don't know how to direct the output from the remind command into the "input text" field of the kdialog command. My knowledge doesn't really extend further than simple piping. |
Offline
See http://mywiki.wooledge.org/CommandSubstitution
You should read the entire Bash Guide: http://mywiki.wooledge.org/BashGuide
Offline
Thanks, this looks like just what I needed.
This is why I love linux, especially arch. Try to do one thing-learn many more.
Last edited by spencer_brown (2015-11-03 23:25:32)
Offline
Pages: 1