#31 ✓resolved
bahuvrihi

Error parsing cmd line string configs...

Reported by bahuvrihi | May 1st, 2008 @ 12:01 PM

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 July 5th, 2008 @ 04:05 PM

    • 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