get the first word of a file
- From: dufffman@xxxxxxxxx
- Date: 21 Dec 2005 07:02:16 -0800
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,
.
- Follow-Ups:
- Re: get the first word of a file
- From: John W. Krahn
- Re: get the first word of a file
- From: Loki Harfagr
- Re: get the first word of a file
- From: grulos
- Re: get the first word of a file
- From: Dan Mercer
- Re: get the first word of a file
- From: Stephane Chazelas
- Re: get the first word of a file
- From: William.Deans@xxxxxxxxx
- Re: get the first word of a file
- Prev by Date: Re: if a directory name changes ...
- Next by Date: Re: Why can I see the exectuing script?
- Previous by thread: /dev/null ing stderr - it's supposed to be easy enough but ... !
- Next by thread: Re: get the first word of a file
- Index(es):