in reply to du with backticks
Anything you can do to shorten/constrain/simplify the stuff in backticks is generally a good idea, esp. in terms of eliminating "shell-magic" characters as much as (or completely if) possible.$du = join( '', grep !/^.*?Maildir.*?(?:cur|tmp|new|courierimapkeywords)$/ +, `du -ch $homedir` ); print $du;
|
|---|