3 ms·
Nope, it sends stdout to sheets. Getting input from sheets would be cool, too.
by nine_k 9y ago
Nope, it sends stdout to sheets. Getting input from sheets would be cool, too.
- Naac 9y agoIt 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"
- reificator 9y agoWhen 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.
- jwilk 9y agoFrom the HN guidelines: Please don't comment about the voting on comments. It never does any good, and it makes boring reading.
- PowerfulWizard 9y agoConsider the command: tosheets --spreadsheet=ABC <myfile.txt In this example, stdin is what goes to the spreadsheet. stdout is (I assume) nothing.
- fluffyllemon 9y agotosheets definitely reads from stdin: https://github.com/kren1/tosheets/blob/8a853d2ebb722c474f5bbe15531d16e7ef3f1528/tosheets/tosheets.py#L113 https://github.com/kren1/tosheets/blob/8a853d2ebb722c474f5bb... :)