in reply to Re^3: printing passwd file
in thread printing passwd file

Well, if you want to play golf, you can even leave out the spaces:

perl -F: -lane 'print "@F[0, 4]"' /etc/passwd
or leave out perl completely:
cut -d: -f1,5 /etc/passwd|tr : \
of which the end reminds me to this classic error message:
$ \(- -bash: (-: command not found