I use slacktee for just general getting things to slack purposes but I'm always doing:-
cat file | slacktee
I've fixed the problem by disabling globbing at the top of the slacktee script with:-
set -f
a sample file contents that got globbed is:-
2024-07-11 13:40:20,330 p=1134972 u=orcansci n=ansible | PLAY [elb] [CHECK MODE] ********************************************************
2024-07-11 13:40:21,087 p=1134972 u=orcansci n=ansible | TASK [ansible-elb : include] [CHECK MODE] **************************************
Is there a way to get round this by passing slacktee a file and not a stdin, as in am I missing something obvious?
I use slacktee for just general getting things to slack purposes but I'm always doing:-
cat file | slackteeI've fixed the problem by disabling globbing at the top of the slacktee script with:-
set -fa sample file contents that got globbed is:-
Is there a way to get round this by passing slacktee a file and not a stdin, as in am I missing something obvious?