Parsing oddity?

34 views
Skip to first unread message

Grant

unread,
May 21, 2015, 5:09:37 AM5/21/15
to mylifeo...@googlegroups.com
Why does

test -stoday -dtomorrow

work, and

test -s today -d tomorrow

does not work (gives both the start and the due days as tomorrow.


Stéph

unread,
Jun 1, 2015, 2:48:53 PM6/1/15
to mylifeo...@googlegroups.com
Wow, Grant, that's brilliant!
 
I had always thought, and there were various discussions about this, that you couldn't parse start and due date in the same entry.  It was only able to parse one of those and lead time.  However, it looks like you've managed to stumble on a way to get both start and due dates parsed in a single entry, by removing the spaces.
 
That's going to be such a time-saver for me.  Thanks!
 
Does Andrey even know that you can do this?
 
Stéphane
Reply all
Reply to author
Forward
0 new messages