Search the web
Sign In
New User? Sign Up
todotxt · Todo.txt
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
report "ambiguous redirect" errorr   Message List  
Reply Message #1764 of 2482 |
When running todo report with your DONE_FILE being in a directory with
a space in the path (ex: C:\My Documents), you will get an "ambiguous
redirect" error. This is because the $DONE_FILE variable doesn't have
""s around it on line 637 of todo.sh. The error doesn't appear after
adding the ""s.

Before:
sed '/^x /!d' "$TODO_FILE" >> $DONE_FILE

After:
sed '/^x /!d' "$TODO_FILE" >> "$DONE_FILE"




Wed Feb 18, 2009 8:15 pm

jeffl8n
Offline Offline
Send Email Send Email

Message #1764 of 2482 |
Expand Messages Author Sort by Date

When running todo report with your DONE_FILE being in a directory with a space in the path (ex: C:\My Documents), you will get an "ambiguous redirect" error....
Jeff
jeffl8n
Offline Send Email
Feb 18, 2009
8:15 pm

... Great catch, thanks Jeff. Will add this fix to the next release. -- http://ginatrapani.org...
Gina Trapani
gina.trapani
Offline Send Email
Feb 19, 2009
7:27 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help