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 your group to be featured on the Yahoo! Groups website? 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 #2367 of 2423 |
Re: [todotxt] Re: future tasks (WIP)

This is the line you probably want:

#!/usr/bin/gawk --re-interval -f

On Wed, Jul 8, 2009 at 10:02 PM, Ed Blackman <ed@...> wrote:
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


------------------------------------

http://todotxt.comYahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/todotxt/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/todotxt/join
   (Yahoo! ID required)

<*> To change settings via email:
   mailto:todotxt-digest@yahoogroups.com
   mailto:todotxt-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
   todotxt-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/




Thu Jul 9, 2009 4:48 pm

mivok0
Offline Offline
Send Email Send Email

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

... 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