Thread: need perl help
View Single Post
Old March 4th, 2003, 03:19 PM   Digg it!   #1 (permalink)
thelactator
Junior Member
 
Join Date: Mar 2003
Posts: 10
need perl help

Hi, I'm new to this message board, and I suck at perl, so if anybody could help, it would be much appreciated.
OK, here's my problem.

I have a list of data in an input file that looks like this:
iep184:30201:222::/showme4/iep184:/usr/lbin/tcsh

The first portion, the iep184 part, is the user ID. I need to go through the list and get all user IDs that start with 'c' and end with '1'.

Any ideas? I think I have to use a split of some sort, but I'm not really sure how that works. Thanks for any help.
thelactator is offline   Reply With Quote
Search TechIMO for Answers: