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.
In reply to •Re: Find Scripts and Make Executable
by merlyn
in thread Find Scripts and Make Executable
by The Mad Hatter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |