get the first word of a file



Hi,

I have a data file of the format

20051112|data|moreData|evenMoreData|..|
20051112|data|moreData|evenMoreData|..|
20051112|data|moreData|evenMoreData|..|
20051112|data|moreData|evenMoreData|..|
20051112|data|moreData|evenMoreData|..|
20051112|data|moreData|evenMoreData|..|
20051112|data|moreData|evenMoreData|..|


its going to be a pipe delimited file, w/the only the first date beng
the constant. in unix which command would i write to extract the first
'20051112' out of this file?

Thanks,

.