#31 ✓resolved
bahuvrihi

Error parsing cmd line string configs...

Reported by bahuvrihi | 2008-05-01 12:01:36 UTC

Config loading as yaml results in a few oddities:

% tap -- task --empty="" --tab="\t"

Neither is parsed correctly as:

  {:empty => "", :tab => "\t"}

Instead you get:

  {:empty => false, :tab => '\t'}

Comments and changes to this ticket

  • bahuvrihi

    bahuvrihi 2008-07-05 16:05:24 UTC

    • State changed from “new” to “resolved”
    • Tag set to “bug, tap”
    • Assigned user set to “bahuvrihi”

    (from [6ee8a4d936f5f653cc26979345f7f6e2037cac43]) Changed string validation to re-evaluate strings using %Q. This allows the specification of tabs, newlines, etc within command line option. [#31 state:resolved responsible:bahuvrihi]

    http://github.com/bahuvrihi/tap/...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A framework for making configurable, file-based tasks and workflows.

People watching this ticket

Tags

Pages