gww@beatnix..UUCP (Gary Winiger) (12/17/86)
Subject: Newsetup fails to completely setup .newsrc Index: rn/newsetup.SH Description: /usr/lib/newsetup with patch Revision 4.3.1.2 86/09/05 15:41:04 lwall gets the sed diagnostic "Too many files in w commands\n". The comment in newsetup.SH indicates that there is a problem with more than 10 files. On the Elxsi released 4.2/4.3 version of sed, that number appears to be 9. The Elxsi versions of sed on both 4.2 and 4.3 are line for line the same as those from the VAX distribution tapes. Repeat-By: Running newsetup on a standard release 4.2/4.3 version of sed. with patch 4.3.1.2. Fix: The second sed has 10 files while the first has only 8. Move one of the files from the second sed to the first. The below modification fixes newsetup with patch 4.3.1.2 at Elxsi. Gary.. ------------ cut ----------- snip ------------- snap ---------- tear -------- *** oldnewsetup.SH Mon Dec 1 17:57:18 1986 --- newsetup.SH Tue Dec 16 14:14:12 1986 *************** *** 83,91 -e "/^fa\./{" \\ -e " w /tmp/n.fa\$\$" \\ -e ' d' \\ ! -e '}' ! ! $sed </tmp/n.tmp\$\$ >/tmp/n.local\$\$ \\ -e "/^\$cntry\./{" \\ -e " w /tmp/n.\$cntry\$\$" \\ -e ' d' \\ --- 83,89 ----- -e "/^fa\./{" \\ -e " w /tmp/n.fa\$\$" \\ -e ' d' \\ ! -e '}' \\ -e "/^\$cntry\./{" \\ -e " w /tmp/n.\$cntry\$\$" \\ -e ' d' \\ *************** *** 89,95 -e "/^\$cntry\./{" \\ -e " w /tmp/n.\$cntry\$\$" \\ -e ' d' \\ ! -e '}' \\ -e "/^\$cont\./{" \\ -e " w /tmp/n.\$cont\$\$" \\ -e ' d' \\ --- 87,95 ----- -e "/^\$cntry\./{" \\ -e " w /tmp/n.\$cntry\$\$" \\ -e ' d' \\ ! -e '}' ! ! $sed </tmp/n.tmp\$\$ >/tmp/n.local\$\$ \\ -e "/^\$cont\./{" \\ -e " w /tmp/n.\$cont\$\$" \\ -e ' d' \\