Skip to content

Failed to compile awk program with # #14

@pengyu

Description

@pengyu

See error below.

$ cat a.awk

function f(x) {
#
return x
}
{ print $0, f($0) }
$ awka $(< a.awk )
awka: line 2: missing } near end of file
$ gawk -f ./a.awk  <<< 1
1 1

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