Re: [CentOS] HERE document in docker script file

2019-05-03 Thread H
On April 30, 2019 8:30:45 PM EDT, H wrote: >On 04/30/2019 02:54 AM, Gianluca Cecchi wrote: >> On Tue, Apr 30, 2019 at 4:44 AM H wrote: >> >>> I am trying to use a HERE document in a docker script file to >generate a >>> text file but must be doing something wrong since I get a warning >message >>

Re: [CentOS] HERE document in docker script file

2019-04-30 Thread H
On 04/30/2019 02:54 AM, Gianluca Cecchi wrote: > On Tue, Apr 30, 2019 at 4:44 AM H wrote: > >> I am trying to use a HERE document in a docker script file to generate a >> text file but must be doing something wrong since I get a warning message >> that I did not expect: >> >> EOF: line 6: warning:

Re: [CentOS] HERE document in docker script file

2019-04-30 Thread Pete Biggs
> > EOF: line 6: warning: here-document at line 0 delimited by end-of-file > > (wanted `EOF') > > > > This is the sample script I am testing in my docker file: > > > > RUN bash -c "$(/bin/echo -e "cat << 'EOF' | tee -a /test.txt \ > > \n \ > > \n someting here \ > > \n something e

Re: [CentOS] HERE document in docker script file

2019-04-29 Thread Gianluca Cecchi
On Tue, Apr 30, 2019 at 4:44 AM H wrote: > I am trying to use a HERE document in a docker script file to generate a > text file but must be doing something wrong since I get a warning message > that I did not expect: > > EOF: line 6: warning: here-document at line 0 delimited by end-of-file > (wa

[CentOS] HERE document in docker script file

2019-04-29 Thread H
I am trying to use a HERE document in a docker script file to generate a text file but must be doing something wrong since I get a warning message that I did not expect: EOF: line 6: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') This is the sample script I am testing