Displaying 5 results from an estimated 5 matches for "lastname1firstname2".
2016 Jun 04
3
for loop example
Hi list,
Can you look in to this?
[root at centos67 loop]# cat file1
firstname1
firstname2
[root at 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 get the above output
[root at centos67 loop]# for line1 in $(cat file1 ); do for line2 in $(cat
file2 ); do echo "$line1" "$line2";done;done;
firstname1 lastname1
firstname1 lastname2
fi...
2016 Jun 09
1
for loop example
...67 loop]# cat file1
> > > firstname1
> > > firstname2
> > >
> > > [root at 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 get the above output
>
> > >
> > > [root at centos67 loop]# for line1 in $(cat file1 ); do for line2 in
> $(cat
>...
2016 Jun 07
2
for loop example
...text/plain; charset=UTF-8
>
> Hi list,
>
> Can you look in to this?
>
>
> [root at centos67 loop]# cat file1
> firstname1
> firstname2
>
> [root at 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 get the above output
>
> [root at centos67 loop]# for line1 in $(cat file1 ); do for line2 in $(cat
> file2 ); do echo "$line1" "$line2";done;done;
> firstna...
2016 Jun 09
0
for loop example
...to this?
> >
> >
> > [root at centos67 loop]# cat file1
> > firstname1
> > firstname2
> >
> > [root at 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 get the above output
> >
> > [root at centos67 loop]# for line1 in $(cat file1 ); do for line2 in $(cat
> > file2 ); do echo "$line1" "$...
2016 Jun 07
0
for loop example
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 want.
So try "man paste".