Why bash is not so efficient as cron?

2007-03-02 Thread mishabear
What I have done in this test is: 1. Install a job in cron. The job is simple: grep a string in a very big file, which is a concatenation of rfcs; 2. After cron finished the job, cat the result and running time; 3. Execute the very same job under bash, then cat the result and running time; 4. The

Re: Why bash is not so efficient as cron?

2007-03-02 Thread Tim Waugh
Are the two environments setting different locales perhaps? If the character encoding is UTF-8 there is quite a bit more work that needs to be done compared to the C locale. Tim. */ signature.asc Description: This is a digitally signed message part