and the error i get is this: et791:~$ ./password5.pl String found where operator expected at ./password5.pl line 3, near "lne 'print (split(/:/))0'" (Do you need to predeclare lne?) syntax error at ./password5.pl line 3, near "lne 'print (split(/:/))0'" Execution of ./password5.pl aborted due to compilation errors. Can someone please help me???#!/usr/bin/perl -lne 'print (split(/:/))[0]' /etc/passwd
In reply to printing passwd file by madmonster99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |