tests/editing.t @ 65b004631139

Allow comments in tasks files
author Shrikant-Sharat <shrikantsharat.k@gmail.com>
date Thu, 01 Sep 2011 22:29:33 +0530
parents a882490073a1
children 6af374f52295
Setup:

  $ alias xt="python $TESTDIR/../t.py --task-dir `pwd` --list test"

Replace a task's text (preserving the ID):

  $ xt Sample.
  $ xt
  a - Sample.
  $ xt -e a New sample.
  $ xt
  a - New sample.

Sed-style substitution:

  $ xt -e a 's/New/Testing/'
  $ xt
  a - Testing sample.