Skip to content

change how bare {} is handled so find -exec {} isn't broken #1109

@hrldcpr

Description

@hrldcpr

"reopening" #95

i think it's bad that simple, standard find commands fail with a perplexing error message in fish, due to its expansion of empty curly braces to empty string. e.g.:

> find . -name '*.txt' -exec cat {} +
find: -exec: no terminating ";" or "+"

as discussed in #95 the fix is to quote '{}' but this is kind of hard to figure out

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions