Skip to content

count newlines as spaces for tokenizing backtick-interpolated prerequisites #5

@dpk

Description

@dpk

Prerequisites of this form:

task:V: `find dir -name \*.src | sed 's/\.src$/.bin/'`

will only ever build the first prerequisite returned because the rest are separated by newlines instead of spaces.

A quick fix is to put something like | perl -pe 's/\n/ /g' at the end of the shell command.

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