Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'This may hurt cross-platform scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
This may hurt cross-platform scripts
Authored by: barrysharp on Sep 02, '02 08:02:27PM

Agreed -- if portability across various UNIX flavors is paramount to your shell script's operation then one must obviously consider the aspect you describe. However, putting that aside (and of course one can always case the Shell substitution method to avoid its use) removing basename from multiple execution in the hundreds or thousands can be beneficial.

I'm responsible for health monitoring systems at my workplace and any reduction in process creation over the span of years makes our system more productive. As I said in the original post/hint, performance/productivity is obtained in a step-by-step process.

Thanks for your comment.

Regards... Barry Sharp

[ Reply to This | # ]