Now you can see what it's expanding into with the variable interpolation. I'm guessing the variables aren't expanding into what you think they are.print "find $home[$i]$dir -user $UID -print | xargs -n 1 chown -h $NEW +UID\n"; system("find $home[$i]$dir -user $UID -print | xargs -n 1 chown -h $NE +WUID");
In reply to Re: using pipes in a system() call
by swkronenfeld
in thread using pipes in a system() call
by mcarlson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |