[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How do you echo a shell variable reference
From: |
Arthur Schwarz |
Subject: |
How do you echo a shell variable reference |
Date: |
Mon, 13 Apr 2015 15:24:07 -0700 |
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 can
get the correct result in file?
Software entropy: maintenance
- How do you echo a shell variable reference,
Arthur Schwarz <=