Many fixes to ash (/bin/sh)
I have been fixing /bin/sh (aka ash) bugs. If you know of shell
bugs that aren't fixed by this patch, or have problems with this patch,
send me a bug report and I will try to fix it.
This patch fixes 7 bugs:
1) correct handling of \ within backquotes
2) don't require \n or ; before do in `for var do'
3) accept redir before (non-simple) command
4) don't expand regexps as case pattern if inside string
5) for a background command, don't redirect stdin to /dev/null if stdin has
been previously redirected
6) set exitstatus for backquoted commands
7) correctly expand $n inside quotes
This patch should fix all problems with C-news.
It also fixes some problems with the SPEC benchmark suite, groff 1.07, etc.
I have test cases for each of these patches for anyone who is interested
in seeing them.
Jim Wilson
wilson@moria.cygnus.com
Date: Mon, 19 Apr 1993 07:06:52 GMT
AUTHOR: Jim Wilson (wilson@moria.cygnus.com)
386BSD-Patchkit: patch00168