Re: scripting suggestion: how to make this command shorter

2009-06-28 Thread gs_stol...@juno.com
On 6/27/09, Zhang Weiwu zhangwe...@realss.com wrote: Hello. I wrote this one-line command to fetch a page from a long uri, parse it twice: first time get subject second time get content, and send it as email to me. $ w3m -dump

scripting suggestion: how to make this command shorter

2009-06-27 Thread Zhang Weiwu
Hello. I wrote this one-line command to fetch a page from a long uri, parse it twice: first time get subject second time get content, and send it as email to me. $ w3m -dump

Re: scripting suggestion: how to make this command shorter

2009-06-27 Thread Modulok
Zhang, Perhaps you could put it into a text file and have cron simply execute the text file. By doing so, you are free to break it up into a more digestible format and start using programming constructs to make your life easier. (Such as storing values in variables, or processing standard input

Re: scripting suggestion: how to make this command shorter

2009-06-27 Thread Zhang Weiwu
Modulok wrote: Zhang, Perhaps you could put it into a text file and have cron simply execute the text file. By doing so, you are free to break it up into a more digestible format and start using programming constructs to make your life easier. (Such as storing values in variables, or