Re:Tosheets, utility to send stdin to Google sheets
by nine_k on Friday November 17, 2017 @09:39PM
(#15727489)
Nope, it sends stdout to sheets. Getting input from sheets would be cool, too.
[ Parent
| on HN ]
Re:Tosheets, utility to send stdin to Google sheets
by PowerfulWizard on Friday November 17, 2017 @09:49PM
(#15727531)
Consider the command:
tosheets --spreadsheet=ABC <myfile.txt
In this example, stdin is what goes to the spreadsheet. stdout is (I assume) nothing.
Re:Tosheets, utility to send stdin to Google sheets
by fluffyllemon on Friday November 17, 2017 @09:53PM
(#15727545)
tosheets definitely reads from stdin: https://github.com/kren1/tosheets/blob/8a853d2ebb722c474f5bb... :)
Re:Tosheets, utility to send stdin to Google sheets
by Naac on Friday November 17, 2017 @09:43PM
(#15727508)
It looks to me like you're being downvoted, but what you're saying looks correct to me. $PROGRAM sends to stdout what google sheets reads from "stdin"
Re:Tosheets, utility to send stdin to Google sheets
by reificator on Saturday November 18, 2017 @12:05AM
(#15727847)
When you run this utility, it forwards stdin to Google Sheets.
Should you pipeline stdout from somewhere else to this utility, the contents of that stdout will be forwarded to Google Sheets.
It is correct to say either that you are forwarding stdin or that you are forwarding stdout. It is therefore not correct to say that it does not forward stdin, because the source code explicitly refers to stdin. That's likely the reason for the [Fight Club]s the GP is receiving.