Why does exiting with a stored returncode of a nested command result in different returncodes in dash and bash – unix.stackexchange.com 13:10 Posted by Unknown No Comments Running bash -c 'bash -c "echo test1; exit 1;" &> /tmp/x; buildresult=$?; tail -n 100 /tmp/x; exit $buildresult;' results in test1 being printed to console and echo $? to print 1 which in my ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitGraphics chips in 1980 – retrocomputing.stackexchange.comWhat type of permanent damage could be done to my computer through remote access (TeamViewer)? – security.stackexchange.comHow do you use ATM machines abroad? – travel.stackexchange.comWhat could be the possible advantages of teaching Scheme as first programming language? – cseducators.stackexchange.comShould the Great Schism of 1054 be taken to be 1204 (or 1182) instead? – history.stackexchange.comIs FaceTime free (including internationally)? – apple.stackexchange.com
0 Comment to "Why does exiting with a stored returncode of a nested command result in different returncodes in dash and bash – unix.stackexchange.com"
Post a Comment