[Github-comments] [geany/geany] Read standard input as new file (#780)
FNakano
notifications at xxxxx
Mon Jul 5 12:45:51 UTC 2021
Hello!
In the case the stdin messages to insert into the editor are some other program execution results, executing the other program in a snippet might serve you.
For instance, I needed grep output to be inserted into the editor so I defined the snippet:
task={command:sh -c 'grep -r -F "**tarefa**" /home/user/Documents/*'}
After grep execution (Geany hangs until completion), its output is written into the editor active tab.
Hope it helps.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/780#issuecomment-874084703
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210705/4ab9e24b/attachment.htm>
More information about the Github-comments
mailing list