Square bracket wildcards in `cylc insert` cycle points?

Hi Jonny,

“Glob” pattern matching works as documented in the command help - including character ranges in task name and cycle point values - for commands that target existing tasks in the task pool.

The cylc insert command is different though. Rather than matching and operating on existing tasks, it inserts new tasks into the task pool. So no, you can’t use globbing with cylc insert because globs (like regexes) are for matching existing stuff, not for generating all the possible new stuff that the pattern would match.

Unfortunately I see cylc insert --help just prints the generic task-matching CLI info though. Sorry about that; I’ll post an issue to get it fixed.

Hilary

1 Like