[Github-comments] [geany] Read standard input as new file (#780)

Matthew Brush notifications at xxxxx
Sat Nov 28 02:52:48 UTC 2015


@naturalspringwater as a work-around, you could make a script to call instead of `geany` directly, something like this, which kind of does what you want (I think, I'm on Windows ATM):

```bash
#!/usr/bin/env bash
set -e
TMPFILE=`mktemp`
trap 'rm -f "$TMPFILE"' EXIT
while read line
do echo "$line" >> "$TMPFILE"
done
geany $@ "$TMPFILE"
```

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/780#issuecomment-160242605
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151127/abe9fa4f/attachment.html>


More information about the Github-comments mailing list