Re: [CentOS] for loop example

2016-06-10 Thread Scott Noel-Hemming
On Thu, 9 Jun 2016 15:19:57 -0400 Mike Williams wrote: > > From: Indunil Jayasooriya > > > > > > > > > [root@centos67 loop]# cat file1 > > > > firstname1 > > > > firstname2 > > > > > > > > [root@centos67 loop]# cat file2 > > > > lastname1 > > > >

Re: [CentOS] for loop example

2016-06-09 Thread Mike Williams
> From: Indunil Jayasooriya > > > > > > [root@centos67 loop]# cat file1 > > > firstname1 > > > firstname2 > > > > > > [root@centos67 loop]# cat file2 > > > lastname1 > > > lastname2 > > > > > > I need a OUTPUT like this > > > > > > > > > *firstname1 lastname1firstname2

Re: [CentOS] for loop example

2016-06-08 Thread Scott Noel-Hemming
os.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of CentOS digest..." > > > > > > Today's Topics: > > > >1. for loop example (Indunil Jayasooriya) > > 2. remote backup (A

Re: [CentOS] for loop example

2016-06-07 Thread Indunil Jayasooriya
On Tue, Jun 7, 2016 at 5:33 PM, Kenneth Porter wrote: > On 6/3/2016 10:41 PM, Indunil Jayasooriya wrote: > >> I need a OUTPUT like this >> >> >> *firstname1 lastname1firstname2 lastname2* >> > > An obvious solution is to use Perl. I suggest searching Stackoverflow for > a

Re: [CentOS] for loop example

2016-06-07 Thread Jon LaBadie
On Sat, Jun 04, 2016 at 11:11:21AM +0530, Indunil Jayasooriya wrote: > Hi list, > > Can you look in to this? > > > [root@centos67 loop]# cat file1 > firstname1 > firstname2 > > [root@centos67 loop]# cat file2 > lastname1 > lastname2 > > I need a OUTPUT like this > > > *firstname1

[CentOS] for loop example

2016-06-07 Thread Diego
." > > > Today's Topics: > >1. for loop example (Indunil Jayasooriya) >2. remote backup (Alessandro Baggi) > > > -- > > Message: 1 > Date: Sat, 4 Jun 2016 11:11:21 +0530 > From: Indunil Jayas

Re: [CentOS] for loop example

2016-06-07 Thread Kenneth Porter
On 6/3/2016 10:41 PM, Indunil Jayasooriya wrote: I need a OUTPUT like this *firstname1 lastname1firstname2 lastname2* An obvious solution is to use Perl. I suggest searching Stackoverflow for a solution using that language. While checking, I discovered the paste program does just what you

[CentOS] for loop example

2016-06-07 Thread Indunil Jayasooriya
Hi list, Can you look in to this? [root@centos67 loop]# cat file1 firstname1 firstname2 [root@centos67 loop]# cat file2 lastname1 lastname2 I need a OUTPUT like this *firstname1 lastname1firstname2 lastname2* But I try the below command , i get below output. what is the real command to