in reply to Find Scripts and Make Executable
use File::chmod; while (<>) { close ARGV; chmod "u+x", $ARGV if /^#!/ and not -x $ARGV; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: •Re: Find Scripts and Make Executable
by The Mad Hatter (Priest) on Apr 22, 2003 at 04:37 UTC | |
by merlyn (Sage) on Apr 22, 2003 at 14:00 UTC |