Skip to content

Globbing of wildcards in the input #91

@gilesw

Description

@gilesw

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions