On Wed, 2008-08-20 at 05:16 -0700, Jyotishmaan Ray wrote: > Dear All, > > I have a input file containing all the rolnos of 400 studenst. I have written > a small perl script to create their home directories in the cluster server. > > everything worked fine except for the reason that, it shows up error message > indicating that the following messages for example: > > when my input file rr.txt contains the following roll nos.:- > > > s08-1-5-095 > s08-1-5-096 > s08-1-5-097 > > the error messages displayed are :- > > [EMAIL PROTECTED] perl]# perl h20.pl > chgrp: invalid group `s08-1-5-095' > chgrp: invalid group `s08-1-5-096' > chgrp: invalid group `s08-1-5-097'
You have to create a group before you can change a file to it. See `man 5 group`. -- Just my 0.00000002 million dollars worth, Shawn "Where there's duct tape, there's hope." "Perl is the duct tape of the Internet." Hassan Schroeder, Sun's first webmaster -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/