Skip to content

error "command substitution" #2

@MaDill

Description

@MaDill

I receive an error for "command substitution" when use this sendmail script.

/usr/sbin/sendmail: command substitution: line 33: syntax error near unexpected token )´ /usr/sbin/sendmail: command substitution: line 33: echo "$stdin" | head -n5 | grep -i ^to:.*@${HOSTNAME}>)´

I then removed the ">" and it was working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions