in reply to Re^2: Perl Project: Text Search
in thread Perl Project: Text Search

I suspect the passwd.bak in question is simply a copy of a *nix passwd, the .bak extension suggests that it's an backup copy rather than the live passwd file. You'll simply read the file as though it were any other text file. If you can't open the file for reading then you may need to contact the person who assigned the task. Good luck.

Replies are listed 'Best First'.
Re^4: Perl Project: Text Search
by Sharp (Initiate) on Apr 08, 2010 at 12:14 UTC
    i discovered i was typing in the filename wrong. password.bak instead of passwd.bak

      A mistake on someones part then, in your first post you quote "passwd.bck", perhaps the person setting up this exercise made a mistake. Regardless, you've found a readable file, hopefully it will contain the data you need.