Field2=$(cut -d \; -f 2 filename)
Field3=$(cut -d \; -f 3 filename)
Assuming the file really only contains the one line.
If you need to strip the trailing colon off of field 3, then you can do this afterwards:
Last edited by David the H.; 06-23-2009 at 03:09 PM.
Reason: Fixed typing mistake