Hard Light Productions Forums
Off-Topic Discussion => General Discussion => Topic started by: WMCoolmon on April 24, 2005, 05:17:55 pm
-
*** sonic_1 ([email protected]) has joined channel #perl
can someone tell me whats wrong with this script?
#!/usr/bin/perl
for $x in 'ls --width=1';
do 'mv $x ~$x/Mailbox;chown $x.mail ~$x/Mailbox';
fi
:confused:
-
umm. doesn't an fi ending mean you need an if begining?
Also... that whole thing just looks entirely wrong to me. Granted I'm a rookie in Linux, but... we coverred that in class, and that seems completely wrong :p