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...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
future tasks (WIP)   Message List  
Reply | Forward Message #2366 of 2423 |
Re: [todotxt] Re: future tasks (WIP)

On Wed, Jul 08, 2009 at 11:30:01PM -0000, gtdwannabe wrote:
>So....how would I use this in a script? I finally got the python
>version of futureTasks working, but when I try to save the attached awk
>script as a file, and point to that for my final filter, I get
>interesting errors like:

I haven't been able to get awk to use a #! line correctly, so I just
call it like "gawk --re-interval -f $HOME/.todo.actions.d/datefilter.awk"

Ed



Thu Jul 9, 2009 2:02 am

edgewood73
Offline Offline
Send Email Send Email

Forward
Message #2366 of 2423 |
Expand Messages Author Sort by Date

So....how would I use this in a script? I finally got the python version of futureTasks working, but when I try to save the attached awk script as a file, and...
gtdwannabe
Offline Send Email
Jul 8, 2009
11:30 pm

... I haven't been able to get awk to use a #! line correctly, so I just call it like "gawk --re-interval -f $HOME/.todo.actions.d/datefilter.awk" Ed...
Ed Blackman
edgewood73
Offline Send Email
Jul 9, 2009
2:03 am

This is the line you probably want: #!/usr/bin/gawk --re-interval -f...
Mark Harrison
mivok0
Offline Send Email
Jul 9, 2009
4:55 pm

... This is drifting off topic, and I'm OK with the invocation I use now, but that doesn't work: $ head -1 ~/.todo.actions.d/datefilter.awk #!/usr/bin/gawk...
Ed Blackman
edgewood73
Offline Send Email
Jul 9, 2009
8:08 pm

My apologies. I tested with just -f and no --re-interval. It appears #! lines can only take one argument after the program name. Everything afterward is...
Mark Harrison
mivok0
Offline Send Email
Jul 9, 2009
9:07 pm
 First  |  |  Next > Last 
Advanced

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