How do you echo a shell variable reference

2015-04-13 Thread Arthur Schwarz
I am trying to echo: echo 'exit $status' file from the Makefile generated by Makefile.am. What I get is: echo 'exit $status' file in the Makefile, which is correct, but in execution (make check) I get exit tatus in file. I have tried variations of $status to no avail. Any idea how I

Re: How do you echo a shell variable reference

2015-04-13 Thread Harlan Stenn
Eric Blake writes: On 04/13/2015 04:24 PM, Arthur Schwarz wrote: I am trying to echo: echo 'exit $status' file from the Makefile generated by Makefile.am. What I get is: echo 'exit $status' file in the Makefile, which is correct, but in execution (make check) I get

Re: How do you echo a shell variable reference

2015-04-13 Thread Eric Blake
On 04/13/2015 04:24 PM, Arthur Schwarz wrote: I am trying to echo: echo 'exit $status' file from the Makefile generated by Makefile.am. What I get is: echo 'exit $status' file in the Makefile, which is correct, but in execution (make check) I get exit tatus in file. I

Re: How do you echo a shell variable reference

2015-04-13 Thread Harlan Stenn
Arthur Schwarz writes: I am trying to echo: echo 'exit $status' file echo exit $status file H -- from the Makefile generated by Makefile.am. What I get is: echo 'exit $status' file in the Makefile, which is correct, but in execution (make check) I get exit tatus in file.

Re: How do you echo a shell variable reference

2015-04-13 Thread Peter Johansson
On 04/14/2015 08:24 AM, Arthur Schwarz wrote: I am trying to echo: echo 'exit $status' file from the Makefile generated by Makefile.am. What I get is: echo 'exit $status' file in the Makefile, which is correct, but in execution (make check) I get exit tatus Shell variables are