HP3000-L Archives

June 2002, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dave Waroff <[log in to unmask]>
Reply To:
Dave Waroff <[log in to unmask]>
Date:
Tue, 18 Jun 2002 17:57:49 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
From the posix shell:
grep `cat fileA` fileB|cut -d ' ' -f 2|tr -d "\n">fileC

> -----Original Message-----
> From: Donald Frantum [mailto:[log in to unmask]]
> Sent: Tuesday, June 18, 2002 4:31 PM
> To: [log in to unmask]
> Subject: Re: looping out of control
>
>
> Okay here is what I am trying to do, with no luck I might add.
>
> I want to compare file a(single value) to file b(multiple values) and
> extract the multiple values into one record.
>
> file a= 123
> file b= 123 xyz
> file b= 123 pdq
> file b= 123 abc
>
> resultant file= 123 xyzpdqabc
>
> Can someone help.
>
> Thanks in advance,
>
> Donald N Frantum
> Business Analyst
> Houdini Inc
> 4225 N. Palm Street
> Fullerton, CA 92835
> (714) 525-0325 ext.311
> [log in to unmask] <mailto:[log in to unmask]>
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2