slackcat
slackcat copied to clipboard
Dealing with empty lines in a file
I had an issue when attempting to cat a file with an empty line to slackcat. For example if the following is the contents of temp.log:
Hello
World
running cat temp.log | slackcat
will result with
$ cat temp.log | slackcat
2015/01/13 14:18:12 Post failed: Not OK
and only hello printed in slack.
same problem here
@funkymonkeymonk @wanderr this projects looks abandoned, it doesn't get any updates or replies for years now.
Sorry about hijacking the issue but I've implemented a package that we use to post messages as Slackbot, this feature works just fine there, please take a look at: https://github.com/monde-sistemas/slackbot/tree/master/slackbot-console