Hi all,
>i need to extract the number 997841138254, or any other number from that
>position, from an hl7 file. The file will look like this :
>
>MSH...OBR|0001||997841138254|..F
>
>I can use "OBR" as the starting point of the search and then use the "|" to
>move to the begginning of
Duh, even easier:
$ cut --delimiter='|' --fields=N < infile > outfile
where N = the fields you want. See man cut.
--
++
| Eric G. Milleregm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc |
+
On Fri, Oct 22, 1999 at 04:28:29PM +1300, [EMAIL PROTECTED] wrote:
> Hi
>
> Not debian related but i need help nonetheless.
>
> i need to extract the number 997841138254, or any other number from that
> position, from an hl7 file. The file will look like this :
>
> MSH...OBR|0001||997841138
3 matches
Mail list logo