Homec4science

shellutils: helper to parse ids from CLI

Authored by Alessio Deiana <alessio.deiana@cern.ch> on Jun 5 2012, 10:48.

Description

shellutils: helper to parse ids from CLI

  • Adds helper function split_cli_ids_arg() to parse ids from CLI. split_cli_ids_arg("1-4") == set(1, 2, 3, 4) split_cli_ids_arg("1,2,3-4") == set(1, 2, 3, 4)

Details

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:b1034cd741b0: shellutils: helper to parse ids from CLI (authored by Alessio Deiana <alessio.deiana@cern.ch>).Sep 4 2012, 18:47